Package org.robwork.sdurw_kinematics
Class VectorState
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<State>
-
- org.robwork.sdurw_kinematics.VectorState
-
-
Constructor Summary
Constructors Constructor Description VectorState()VectorState(int count, State value)VectorState(long cPtr, boolean cMemoryOwn)VectorState(java.lang.Iterable<State> initialElements)VectorState(State[] initialElements)VectorState(VectorState other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, State e)booleanadd(State e)longcapacity()voidclear()voiddelete()Stateget(int index)static longgetCPtr(VectorState obj)booleanisEmpty()Stateremove(int index)voidreserve(long n)Stateset(int index, State e)intsize()-
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
-
-
-
-
Constructor Detail
-
VectorState
public VectorState(long cPtr, boolean cMemoryOwn)
-
VectorState
public VectorState(State[] initialElements)
-
VectorState
public VectorState(java.lang.Iterable<State> initialElements)
-
VectorState
public VectorState()
-
VectorState
public VectorState(VectorState other)
-
VectorState
public VectorState(int count, State value)
-
-
Method Detail
-
getCPtr
public static long getCPtr(VectorState 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()
-
-