@Name(value="btAlignedObjectArray<btCell32>") @NoOffset @Properties(inherit=BulletCollision.class) public class btCell32Array extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btCell32Array() |
btCell32Array(btCell32Array otherArray)
Generally it is best to avoid using the copy constructor of an btAlignedObjectArray, and use a (const) reference to the array instead.
|
btCell32Array(long size)
Native array allocator.
|
btCell32Array(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
_capacity()
return the pre-allocated (reserved) elements, this is at least as large as the total number of elements,see size() and reserve()
|
btCell32 |
at(int n) |
void |
clear()
clear the array, deallocated memory.
|
void |
copyFromArray(btCell32Array otherArray) |
btCell32 |
expand() |
btCell32 |
expand(btCell32 fillValue) |
btCell32 |
expandNonInitializing() |
btCell32 |
get(int n) |
btCell32Array |
getPointer(long i) |
void |
initializeFromBuffer(Pointer buffer,
int size,
int _capacity) |
void |
pop_back() |
btCell32Array |
position(long position) |
void |
push_back(btCell32 _Val) |
btCell32Array |
put(btCell32Array other) |
void |
removeAtIndex(int index)
non-recursive binary search, assumes sorted array
|
void |
reserve(int _Count) |
void |
resize(int newsize) |
void |
resize(int newsize,
btCell32 fillData) |
void |
resizeNoInitialize(int newsize)
resize changes the number of elements in the array.
|
int |
size()
return the number of elements in the array
|
void |
swap(int index0,
int index1)
heap sort from http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Sort/Heap/
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic btCell32Array(Pointer p)
Pointer(Pointer).public btCell32Array(long size)
Pointer.position(long).public btCell32Array()
public btCell32Array(@Const @ByRef btCell32Array otherArray)
public btCell32Array position(long position)
public btCell32Array getPointer(long i)
getPointer in class Pointer@ByRef @Name(value="operator =") public btCell32Array put(@Const @ByRef btCell32Array other)
public int size()
public void clear()
public void pop_back()
public void resizeNoInitialize(int newsize)
public void resize(int newsize)
@Name(value="capacity") public int _capacity()
public void reserve(int _Count)
public void swap(int index0,
int index1)
public void removeAtIndex(int index)
public void initializeFromBuffer(Pointer buffer, int size, int _capacity)
public void copyFromArray(@Const @ByRef btCell32Array otherArray)
Copyright © 2024. All rights reserved.