public abstract class Struct.IntegerAlias extends Struct.NumberField
type| Modifier and Type | Method and Description |
|---|---|
long |
get()
Gets the value for this field.
|
int |
intValue()
Returns a
int representation of this Number. |
long |
longValue()
Returns a
long representation of this Number. |
void |
set(long value) |
void |
set(Number value)
Sets the field to a new value.
|
String |
toString()
Returns a string representation of this field.
|
byteValue, doubleValue, floatValue, getMemory, offset, shortValue, structpublic void set(Number value)
Struct.NumberFieldset in class Struct.NumberFieldvalue - The new value.public void set(long value)
public final long get()
public int intValue()
Struct.NumberFieldint representation of this Number.intValue in class Struct.NumberFieldint value for this Number.public long longValue()
Struct.NumberFieldlong representation of this Number.longValue in class Struct.NumberFieldlong value for this Number.public final String toString()
toString in class Struct.NumberFieldCopyright © 2017. All rights reserved.