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