|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjnr.ffi.Struct.Member
jnr.ffi.Struct.NumberField
jnr.ffi.Struct.Address
public class Struct.Address
Represents a native memory address.
| Field Summary |
|---|
| Fields inherited from class jnr.ffi.Struct.NumberField |
|---|
type |
| Constructor Summary | |
|---|---|
Struct.Address()
Creates a new Address field. |
|
Struct.Address(Struct.Offset offset)
|
|
| Method Summary | |
|---|---|
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(java.lang.Number value)
Sets the field to a new value. |
java.lang.String |
toString()
Returns a string representation of this Address. |
| Methods inherited from class jnr.ffi.Struct.NumberField |
|---|
byteValue, doubleValue, floatValue, getMemory, offset, shortValue, struct |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Struct.Address()
public Struct.Address(Struct.Offset offset)
| Method Detail |
|---|
public final Address get()
Address value from the struct.
Address.public final void set(Address value)
Address value into the native memory.
public void set(java.lang.Number value)
Struct.NumberField
set 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 java.lang.String toString()
Address.
toString in class Struct.NumberFieldAddress.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||