public class Struct.Address extends Struct.NumberField
type| Constructor and Description |
|---|
Address()
Creates a new Address field.
|
Address(Struct.Offset offset) |
| Modifier and Type | Method and Description |
|---|---|
Address |
get()
Reads an
Address value from the struct. |
int |
intValue()
Returns an integer representation of this address.
|
long |
longValue()
Returns an
long representation of this address. |
void |
set(Address value)
Puts a
Address value into the native memory. |
void |
set(Number value)
Sets the field to a new value.
|
String |
toString()
Returns a string representation of this
Address. |
byteValue, doubleValue, floatValue, getMemory, offset, shortValue, structpublic Address()
public Address(Struct.Offset offset)
public final void set(Address value)
Address value into the native memory.value - the value to write.public void set(Number value)
Struct.NumberFieldset in class Struct.NumberFieldvalue - The new value.public final int intValue()
intValue in class Struct.NumberFieldpublic final long longValue()
long representation of this address.longValue in class Struct.NumberFieldlong value for this address.public final String toString()
Address.toString in class Struct.NumberFieldAddress.Copyright © 2017. All rights reserved.