public abstract class StructLayout.IntegerAlias extends StructLayout.NumberField
type| Modifier | Constructor and Description |
|---|---|
protected |
StructLayout.IntegerAlias(TypeAlias type) |
protected |
StructLayout.IntegerAlias(TypeAlias type,
StructLayout.Offset offset) |
| 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, toStringenclosing, offsetprotected StructLayout.IntegerAlias(TypeAlias type)
protected StructLayout.IntegerAlias(TypeAlias type, StructLayout.Offset offset)
public void set(Pointer ptr, Number value)
StructLayout.NumberFieldset in class StructLayout.NumberFieldvalue - The new value.public void set(Pointer ptr, long value)
public final long get(Pointer ptr)
public int intValue(Pointer ptr)
StructLayout.NumberFieldint representation of this Number.intValue in class StructLayout.NumberFieldint value for this Number.public long longValue(Pointer ptr)
StructLayout.NumberFieldlong representation of this Number.longValue in class StructLayout.NumberFieldlong value for this Number.Copyright © 2013. All rights reserved.