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 voidadd(int index, ObjectPtr e)booleanadd(ObjectPtr e)longcapacity()voidclear()voiddelete()ObjectPtrget(int index)static longgetCPtr(ObjectPtrVector obj)booleanisEmpty()ObjectPtrremove(int index)voidreserve(long n)ObjectPtrset(int index, ObjectPtr e)intsize()-
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()
-
-