| 
 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 MemoryBlock
$Id: MemoryBlock.java,v 1.3 2006/01/21 21:21:45 mdenty Exp $
This interface represents a block of native memory
This software is released under the GPL.
| Method Summary | |
|---|---|
 void | 
dispose()
Method dispose provides a way to free the memory  | 
 java.lang.Integer | 
getPointer()
Method getPointer  | 
 int | 
getSize()
Method getSize  | 
 int | 
reserveMemory(int size)
Method reserveMemory allocate a block of native memory  | 
| Method Detail | 
|---|
java.lang.Integer getPointer()
                             throws java.lang.NullPointerException
java.lang.NullPointerException - if the pointer is null
int getSize()
            throws java.lang.NullPointerException
java.lang.NullPointerException - if the pointer is null
int reserveMemory(int size)
                  throws NativeException
size - in bytes of the block
NativeException
void dispose()
             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 | ||||||||