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