E
- the type of the enumeration.public class SossStruct.EnumWithInt32Value<E extends java.lang.Enum<E> & HasValue<java.lang.Integer>> extends Struct.Member
Struct.Member
for Enum
classes that have explicit value assignments.
This class assumes the values are of type Integer and delegates the storage and
retrieval of the values to an SossStruct.Int32
instance.Constructor and Description |
---|
EnumWithInt32Value(java.lang.Class<E> e) |
EnumWithInt32Value(java.lang.Class<E> e,
int nbrOfBits) |
Modifier and Type | Method and Description |
---|---|
E |
get() |
void |
set(E e) |
java.lang.String |
toString() |
offset, position, struct