graphlab.main.lang
Class ArrayX<t>
java.lang.Object
graphlab.main.lang.SetValidator<t>
graphlab.main.lang.ArrayX<t>
- All Implemented Interfaces:
- AtomAttribute<t>, Validator<t>, java.io.Serializable
public class ArrayX<t>
- extends SetValidator<t>
- implements AtomAttribute<t>
an eXtended data type that you can set it and also get it,
only if your value is in the predefined set
- Author:
- Azin Azadi
- See Also:
- Serialized Form
|
Constructor Summary |
ArrayX(t initVal,
t... x)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ArrayX
public ArrayX(t initVal,
t... x)
setValue
public boolean setValue(t t)
- Specified by:
setValue in interface AtomAttribute<t>
getValue
public t getValue()
- Specified by:
getValue in interface AtomAttribute<t>
toString
public java.lang.String toString()
- Overrides:
toString in class SetValidator<t>