|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Number
com.kenai.jaffl.struct.Struct.NumberField
com.kenai.jaffl.struct.Struct.Address
public class Struct.Address
Represents a native memory address.
| Constructor Summary | |
|---|---|
Struct.Address()
Creates a new Address field. |
|
Struct.Address(Struct.Offset offset)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.kenai.jaffl.struct.Struct.NumberField |
|---|
doubleValue, floatValue, getMemoryIO, offset, struct |
| Methods inherited from class java.lang.Number |
|---|
byteValue, shortValue |
| 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()
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.NumberField
set 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||