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