|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hops.common.HopsAttribute
public class HopsAttribute
Constructor Summary | |
---|---|
HopsAttribute(java.lang.String key)
Creates a new instance of HopsAttribute |
Method Summary | |
---|---|
void |
addValue(java.lang.Object value)
Adds a value for this attribute |
void |
addValues(java.util.Collection values)
Adds a set of values for this attribute |
void |
addValues(java.lang.Object[] values)
Adds a set of values for this attribute |
static java.util.ArrayList |
Array2ArrayList(HopsAttribute[] arr)
|
static HopsAttribute[] |
ArrayList2Array(java.util.ArrayList arr)
|
java.lang.String |
getKey()
Gets the key of the attribute |
int |
getSizeValues()
Gets the size of the set of values for this attribute |
java.util.ArrayList |
getValues()
Gets the set of values for this attribute |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HopsAttribute(java.lang.String key)
key
- Key of the attribute to createMethod Detail |
---|
public java.lang.String getKey()
public java.util.ArrayList getValues()
public void addValue(java.lang.Object value)
value
- The value to addpublic void addValues(java.lang.Object[] values)
values
- The set of values to addpublic void addValues(java.util.Collection values)
values
- The set of values to addpublic int getSizeValues()
public java.lang.String toString()
toString
in class java.lang.Object
public static HopsAttribute[] ArrayList2Array(java.util.ArrayList arr)
public static java.util.ArrayList Array2ArrayList(HopsAttribute[] arr)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |