|
JNative project : see http://jnative.sf.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BasicData<T>
$Id: BasicData.java,v 1.3 2006/01/14 19:27:01 mdenty Exp $
Instances of BasicData are specialized blocks of memory
They are values, memory, pointers to the memory
This software is released under the GPL.
Method Summary | |
---|---|
Pointer |
createPointer()
Method createPointer reserves a native MemoryBlock and copy its value in it |
Pointer |
getPointer()
Method getPointer gets the Pointer created by createPointer() |
int |
getSizeOf()
Method getSizeOf |
T |
getValue()
Method getValue gets the value of this BasicData (often this) |
T |
getValueFromPointer()
Method getValueFromPointer gets the value of this data from the native memory block |
Method Detail |
---|
T getValue()
T getValueFromPointer() throws NativeException
NativeException
Pointer getPointer()
int getSizeOf()
Pointer createPointer() throws NativeException
NativeException
|
JNative project : see http://jnative.sf.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |