public class State<T extends java.lang.Enum<?>> extends Unit
| Constructor and Description |
|---|
State(T value)
Construct an instance of State from the Enum T value.
|
| Modifier and Type | Method and Description |
|---|---|
T |
enumValue()
Return the value of this State as an Enum.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSerializedValue() |
java.lang.String |
toString() |
public State(T value)
value - an instance of the Enum T.public T enumValue()
public java.lang.String getSerializedValue()
getSerializedValue in class Unitpublic java.lang.String toString()
toString in class java.lang.Object