public static class DynamicEnum.Item<T> extends Object implements Comparable<DynamicEnum.Item<T>>, Serializable
Modifier and Type | Field and Description |
---|---|
protected T |
data |
protected int |
index |
protected DynamicEnum |
whole |
Modifier | Constructor and Description |
---|---|
protected |
Item(DynamicEnum whole,
int index,
T data) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DynamicEnum.Item i) |
boolean |
equals(DynamicEnum.Item i) |
boolean |
equals(Object o) |
T |
getData() |
int |
hashCode() |
int |
intValue() |
String |
toString() |
protected final DynamicEnum whole
protected final int index
protected final T data
protected Item(DynamicEnum whole, int index, T data)
public boolean equals(DynamicEnum.Item i)
public int compareTo(DynamicEnum.Item i)
compareTo
in interface Comparable<DynamicEnum.Item<T>>
public T getData()
public int intValue()
see also the complete user documentation .