public abstract class StructLayout.IntegerAlias extends StructLayout.NumberField
type
Modifier and Type | Method and Description |
---|---|
long |
get(Pointer ptr)
Gets the value for this field.
|
int |
intValue(Pointer ptr)
Returns a
int representation of this Number. |
long |
longValue(Pointer ptr)
Returns a
long representation of this Number. |
void |
set(Pointer ptr,
long value) |
void |
set(Pointer ptr,
Number value)
Sets the field to a new value.
|
byteValue, doubleValue, floatValue, shortValue, toString
enclosing, offset
public void set(Pointer ptr, Number value)
StructLayout.NumberField
set
in class StructLayout.NumberField
value
- The new value.public void set(Pointer ptr, long value)
public final long get(Pointer ptr)
public int intValue(Pointer ptr)
StructLayout.NumberField
int
representation of this Number.intValue
in class StructLayout.NumberField
int
value for this Number.public long longValue(Pointer ptr)
StructLayout.NumberField
long
representation of this Number.longValue
in class StructLayout.NumberField
long
value for this Number.Copyright © 2013. All Rights Reserved.