V
- the type of the enum value.E
- the type of the enum.public class EnumWithValueHelper<V,E extends java.lang.Enum<E> & HasValue<V>>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <V,E extends java.lang.Enum<E> & HasValue<V>> |
getHelper(java.lang.Class<E> elementType) |
E |
ordinalToEnum(int ordinal) |
E |
valueToEnum(V value) |
public E ordinalToEnum(int ordinal)
public static <V,E extends java.lang.Enum<E> & HasValue<V>> EnumWithValueHelper<V,E> getHelper(java.lang.Class<E> elementType)