com.kenai.jaffl.struct
public class Struct.Enum8<E extends Enum<E>> extends EnumField<E>
Parameters:
| Constructor Summary | |
|---|---|
| Enum8(Class<E> enumClass)
Creates a new 8 bit enum field.
| |
| Method Summary | |
|---|---|
| E | get()
Gets a java Enum value representing the native integer value.
|
| void | set(E value)
Sets the native integer value using a java Enum value.
|
| void | set(Number value) |
Parameters: enumClass the class of the java.lang.Enum.
Returns: a java Enum value.
Parameters: value the java Enum value.