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 void
add(int index, TimedQ e)
boolean
add(TimedQ e)
long
capacity()
void
clear()
void
delete()
TimedQ
get(int index)
static long
getCPtr(TimedQVector obj)
boolean
isEmpty()
TimedQ
remove(int index)
void
reserve(long n)
TimedQ
set(int index, TimedQ e)
int
size()
-
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()
-
-