|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xvolks.jnative.pointers.memory.AbstractMemoryBlock
org.xvolks.jnative.pointers.memory.HeapMemoryBlock
public class HeapMemoryBlock
| Constructor Summary | |
|---|---|
HeapMemoryBlock(int size)
|
|
| Method Summary | |
|---|---|
void |
dispose()
Method dispose provides a way to free the memory |
int |
reserveMemory(int size)
Method reserveMemory allocate a block of native memory |
| Methods inherited from class org.xvolks.jnative.pointers.memory.AbstractMemoryBlock |
|---|
getPointer, getSize, setPointer, setSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeapMemoryBlock(int size)
throws NativeException
NativeException| Method Detail |
|---|
public int reserveMemory(int size)
throws NativeException
size - in bytes of the block
NativeException
public void dispose()
throws NativeException
NativeException
|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||