Package org.robwork.sdurw_models
Class ObjectPtrVector
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<ObjectPtr>
-
- org.robwork.sdurw_models.ObjectPtrVector
-
-
Constructor Summary
Constructors Constructor Description ObjectPtrVector()
ObjectPtrVector(int count, ObjectPtr value)
ObjectPtrVector(long cPtr, boolean cMemoryOwn)
ObjectPtrVector(java.lang.Iterable<ObjectPtr> initialElements)
ObjectPtrVector(ObjectPtr[] initialElements)
ObjectPtrVector(ObjectPtrVector other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, ObjectPtr e)
boolean
add(ObjectPtr e)
long
capacity()
void
clear()
void
delete()
ObjectPtr
get(int index)
static long
getCPtr(ObjectPtrVector obj)
boolean
isEmpty()
ObjectPtr
remove(int index)
void
reserve(long n)
ObjectPtr
set(int index, ObjectPtr e)
int
size()
-
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
-
-
-
-
Constructor Detail
-
ObjectPtrVector
public ObjectPtrVector(long cPtr, boolean cMemoryOwn)
-
ObjectPtrVector
public ObjectPtrVector(ObjectPtr[] initialElements)
-
ObjectPtrVector
public ObjectPtrVector(java.lang.Iterable<ObjectPtr> initialElements)
-
ObjectPtrVector
public ObjectPtrVector()
-
ObjectPtrVector
public ObjectPtrVector(ObjectPtrVector other)
-
ObjectPtrVector
public ObjectPtrVector(int count, ObjectPtr value)
-
-
Method Detail
-
getCPtr
public static long getCPtr(ObjectPtrVector obj)
-
delete
public void delete()
-
get
public ObjectPtr get(int index)
-
add
public boolean add(ObjectPtr e)
-
add
public void add(int index, ObjectPtr e)
-
remove
public ObjectPtr remove(int index)
-
size
public int size()
-
capacity
public long capacity()
-
reserve
public void reserve(long n)
-
isEmpty
public boolean isEmpty()
-
-