Package org.robwork.sdurw
Class TimedQVector
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<TimedQ>
-
- org.robwork.sdurw.TimedQVector
-
- All Implemented Interfaces:
java.lang.Iterable<TimedQ>,java.util.Collection<TimedQ>,java.util.List<TimedQ>,java.util.RandomAccess
- Direct Known Subclasses:
PathTimedQ
public class TimedQVector extends java.util.AbstractList<TimedQ> implements java.util.RandomAccess
-
-
Constructor Summary
Constructors Constructor Description TimedQVector()TimedQVector(int count, TimedQ value)TimedQVector(long cPtr, boolean cMemoryOwn)TimedQVector(java.lang.Iterable<TimedQ> initialElements)TimedQVector(TimedQ[] initialElements)TimedQVector(TimedQVector other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, TimedQ e)booleanadd(TimedQ e)longcapacity()voidclear()voiddelete()TimedQget(int index)static longgetCPtr(TimedQVector obj)booleanisEmpty()TimedQremove(int index)voidreserve(long n)TimedQset(int index, TimedQ e)intsize()-
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
-
-
-
-
Constructor Detail
-
TimedQVector
public TimedQVector(long cPtr, boolean cMemoryOwn)
-
TimedQVector
public TimedQVector(TimedQ[] initialElements)
-
TimedQVector
public TimedQVector(java.lang.Iterable<TimedQ> initialElements)
-
TimedQVector
public TimedQVector()
-
TimedQVector
public TimedQVector(TimedQVector other)
-
TimedQVector
public TimedQVector(int count, TimedQ value)
-
-
Method Detail
-
getCPtr
public static long getCPtr(TimedQVector obj)
-
delete
public void delete()
-
get
public TimedQ get(int index)
-
add
public boolean add(TimedQ e)
-
add
public void add(int index, TimedQ e)
-
remove
public TimedQ remove(int index)
-
size
public int size()
-
capacity
public long capacity()
-
reserve
public void reserve(long n)
-
isEmpty
public boolean isEmpty()
-
-