public class Struct.Address extends Struct.NumberField
| Constructor and Description |
|---|
Struct.Address()
Creates a new Address field.
|
Struct.Address(Struct.Offset offset) |
| Modifier and Type | Method and Description |
|---|---|
Address |
get()
Gets the
com.googlecode.jffi.Address value from the native memory. |
int |
intValue()
Returns an integer representation of this address.
|
long |
longValue()
Returns an
long representation of this address. |
void |
set(Address value)
Puts a
jafl.Address value into the native memory. |
void |
set(java.lang.Number value)
Sets the field to a new value.
|
java.lang.String |
toString()
Returns a string representation of this
Address. |
doubleValue, floatValue, getMemoryIO, offset, structpublic Struct.Address()
public Struct.Address(Struct.Offset offset)
public final Address get()
com.googlecode.jffi.Address value from the native memory.com.googlecode.jffi.Address.public final void set(Address value)
jafl.Address value into the native memory.public void set(java.lang.Number value)
Struct.NumberFieldset in class Struct.NumberFieldvalue - The new value.public final int intValue()
intValue in class java.lang.Numberpublic final long longValue()
long representation of this address.longValue in class Struct.NumberFieldlong value for this address.public final java.lang.String toString()
Address.toString in class Struct.NumberFieldAddress.