public class Struct.Enum64<E extends java.lang.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(java.lang.Number value)
Sets the field to a new value.
|
toStringbyteValue, doubleValue, floatValue, getMemory, offset, shortValue, structpublic Enum64(java.lang.Class<E> enumClass)
public final E get()
Struct.EnumFieldget in class Struct.EnumField<E extends java.lang.Enum<E>>public final void set(E value)
public void set(java.lang.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.