public class PxCollection extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxCollection() |
protected |
PxCollection(long address) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(PxBase obj) |
void |
add(PxBase obj,
long id) |
void |
addId(PxBase obj,
long id) |
boolean |
contains(PxBase obj) |
PxBase |
find(long id) |
long |
getId(PxBase obj) |
int |
getNbIds() |
int |
getNbObjects() |
PxBase |
getObject(int index) |
void |
release() |
void |
remove(PxBase obj) |
void |
removeId(long id) |
static PxCollection |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodeprotected PxCollection()
protected PxCollection(long address)
public static PxCollection wrapPointer(long address)
public void add(PxBase obj, long id)
obj - WebIDL type: PxBase [Ref]id - WebIDL type: unsigned long longpublic boolean contains(PxBase obj)
obj - WebIDL type: PxBase [Ref]public void addId(PxBase obj, long id)
obj - WebIDL type: PxBase [Ref]id - WebIDL type: unsigned long longpublic void removeId(long id)
id - WebIDL type: unsigned long longpublic int getNbObjects()
public PxBase getObject(int index)
index - WebIDL type: unsigned longPxBase [Ref]public PxBase find(long id)
id - WebIDL type: unsigned long longPxBasepublic int getNbIds()
public long getId(PxBase obj)
obj - WebIDL type: PxBase [Const, Ref]public void release()