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, struct
public 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.NumberField
set
in class Struct.NumberField
value
- The new value.public final int intValue()
intValue
in class Struct.NumberField
public final long longValue()
long
representation of this address.longValue
in class Struct.NumberField
long
value for this address.public final String toString()
Address
.toString
in class Struct.NumberField
Address
.Copyright © 2017. All rights reserved.