public class Struct.Address extends Struct.NumberField
type
构造器和说明 |
---|
Address()
Creates a new
Address field. |
Address(Struct.Offset offset) |
限定符和类型 | 方法和说明 |
---|---|
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()
Address
field.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
在类中 Struct.NumberField
value
- The new value.public final int intValue()
intValue
在类中 Struct.NumberField
public final long longValue()
long
representation of this address.longValue
在类中 Struct.NumberField
long
value for this address.public final String toString()
Address
.toString
在类中 Struct.NumberField
Address
.Copyright © 2021. All rights reserved.