|
||||||||||
| 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.Float>
com.kenai.jaffl.byref.FloatByReference
public class FloatByReference
| Field Summary |
|---|
| Fields inherited from class com.kenai.jaffl.byref.AbstractPrimitiveReference |
|---|
value |
| Constructor Summary | |
|---|---|
FloatByReference(java.lang.Float value)
Creates a new reference to a float value |
|
| Method Summary | |
|---|---|
void |
marshal(java.nio.ByteBuffer buffer)
Copies the float value to native memory |
int |
nativeSize()
Gets the native size of type of reference in bytes. |
void |
unmarshal(java.nio.ByteBuffer buffer)
Copies the float value from native memory |
| Methods inherited from class com.kenai.jaffl.byref.AbstractPrimitiveReference |
|---|
getValue, nativeType, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FloatByReference(java.lang.Float 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 final int nativeSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||