|
JNative 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.MemoryBlockFactory
public class MemoryBlockFactory
$Id: MemoryBlockFactory.java,v 1.3 2006/01/14 19:27:02 mdenty Exp $
This factory permits to reserve a block of memory of the default type
HeapMemoryBlock : is currently the default type.
You should allways call setPreferredMemoryType
before, default type is subject to change !!
Method Summary | |
---|---|
static MemoryBlock |
createMemoryBlock(int size)
|
static void |
setPreferredMemoryType(java.lang.Class<? extends MemoryBlock> type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setPreferredMemoryType(java.lang.Class<? extends MemoryBlock> type) throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public static MemoryBlock createMemoryBlock(int size) 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 |