|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kenai.jaffl.byref.AbstractPrimitiveReference<java.lang.Integer>
com.kenai.jaffl.byref.IntByReference
public final class IntByReference
A class to pass a reference (or address of) an Integer to a method.
| Field Summary |
|---|
| Fields inherited from class com.kenai.jaffl.byref.AbstractPrimitiveReference |
|---|
value |
| Constructor Summary | |
|---|---|
IntByReference(java.lang.Integer value)
Creates a new reference to a integer value |
|
| Method Summary | |
|---|---|
void |
marshal(java.nio.ByteBuffer buffer)
Copies the integer value to native memory |
int |
nativeSize()
Gets the native size of type of reference |
java.lang.Class |
nativeType()
Gets the native type of the reference |
void |
unmarshal(java.nio.ByteBuffer buffer)
Copies the integer value from native memory |
| Methods inherited from class com.kenai.jaffl.byref.AbstractPrimitiveReference |
|---|
getValue, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntByReference(java.lang.Integer value)
value - the initial native value| Method Detail |
|---|
public void marshal(java.nio.ByteBuffer buffer)
buffer - the native memory bufferpublic void unmarshal(java.nio.ByteBuffer buffer)
buffer - the native memory buffer.public int nativeSize()
public java.lang.Class nativeType()
nativeType in class AbstractPrimitiveReference<java.lang.Integer>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||