public class EnumDataDescriptor<T extends java.lang.Enum> extends InlineKeyDescriptor<T>
CANONICAL, IDENTITY
Constructor and Description |
---|
EnumDataDescriptor(java.lang.Class<T> enumClass) |
Modifier and Type | Method and Description |
---|---|
T |
fromInt(int n) |
int |
toInt(T t) |
getHashCode, isCompactFormat, isEqual, read, save
public EnumDataDescriptor(java.lang.Class<T> enumClass)
public T fromInt(int n)
fromInt
in class InlineKeyDescriptor<T extends java.lang.Enum>
public int toInt(T t)
toInt
in class InlineKeyDescriptor<T extends java.lang.Enum>