| Modifier and Type | Field and Description |
|---|---|
| private long |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | btPoolAllocator(long cPtr, boolean cMemoryOwn)
Construct a new btPoolAllocator, normally you should not need this constructor it's intended for low-level usage. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| protected synchronized void | delete()
Overrides com. Deletes the bullet object this class encapsulates. |
| protected void | finalize()
Overrides com. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| public void | |
| public static long | |
| public int | |
| public int | |
| public int | |
| public ByteBuffer | |
| public ByteBuffer | |
| public int | |
| protected void | |
| public boolean |
| swigCPtr | back to summary |
|---|---|
| private long swigCPtr | |
| btPoolAllocator | back to summary |
|---|---|
| protected btPoolAllocator(final String className, long cPtr, boolean cMemoryOwn) | |
| btPoolAllocator | back to summary |
|---|---|
| public btPoolAllocator(long cPtr, boolean cMemoryOwn) Construct a new btPoolAllocator, normally you should not need this constructor it's intended for low-level usage. | |
| btPoolAllocator | back to summary |
|---|---|
| public btPoolAllocator(int elemSize, int maxElements) | |
| allocate | back to summary |
|---|---|
| public long allocate(int size) | |
| delete | back to summary |
|---|---|
| protected synchronized void delete() Overrides com. Doc from com. Deletes the bullet object this class encapsulates. Do not call directly, instead use the
| |
| finalize | back to summary |
|---|---|
| protected void finalize() throws Throwable Overrides com. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the | |
| freeMemory | back to summary |
|---|---|
| public void freeMemory(long ptr) | |
| getCPtr | back to summary |
|---|---|
| public static long getCPtr(btPoolAllocator obj) | |
| getElementSize | back to summary |
|---|---|
| public int getElementSize() | |
| getFreeCount | back to summary |
|---|---|
| public int getFreeCount() | |
| getMaxCount | back to summary |
|---|---|
| public int getMaxCount() | |
| getPoolAddress | back to summary |
|---|---|
| public ByteBuffer getPoolAddress() | |
| getPoolAddressConst | back to summary |
|---|---|
| public ByteBuffer getPoolAddressConst() | |
| getUsedCount | back to summary |
|---|---|
| public int getUsedCount() | |
| reset | back to summary |
|---|---|
| protected void reset(long cPtr, boolean cMemoryOwn) Overrides com.
| |
| validPtr | back to summary |
|---|---|
| public boolean validPtr(long ptr) | |