public class Struct.Enum64<E extends Enum<E>> extends Struct.EnumField<E>
enumClasstype| Modifier and Type | Method and Description |
|---|---|
E |
get()
Gets a java Enum value representing the native integer value.
|
int |
intValue()
Returns a
int representation of this Number. |
long |
longValue()
Returns a
long representation of this Number. |
void |
set(E value) |
void |
set(Number value)
Sets the field to a new value.
|
toStringbyteValue, doubleValue, floatValue, getMemory, offset, shortValue, structpublic final E get()
Struct.EnumFieldget in class Struct.EnumField<E extends Enum<E>>public final void set(E value)
public void set(Number value)
Struct.NumberFieldset in class Struct.NumberFieldvalue - The new value.public final int intValue()
Struct.NumberFieldint representation of this Number.intValue in class Struct.NumberFieldint value for this Number.public final long longValue()
Struct.NumberFieldlong representation of this Number.longValue in class Struct.NumberFieldlong value for this Number.Copyright © 2017. All rights reserved.