Package org.robwork.sdurw_trajectory
Class VectorTrajectoryQPtr
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<TrajectoryQPtr>
-
- org.robwork.sdurw_trajectory.VectorTrajectoryQPtr
-
- All Implemented Interfaces:
java.lang.Iterable<TrajectoryQPtr>
,java.util.Collection<TrajectoryQPtr>
,java.util.List<TrajectoryQPtr>
,java.util.RandomAccess
public class VectorTrajectoryQPtr extends java.util.AbstractList<TrajectoryQPtr> implements java.util.RandomAccess
-
-
Constructor Summary
Constructors Constructor Description VectorTrajectoryQPtr()
VectorTrajectoryQPtr(int count, TrajectoryQPtr value)
VectorTrajectoryQPtr(long cPtr, boolean cMemoryOwn)
VectorTrajectoryQPtr(java.lang.Iterable<TrajectoryQPtr> initialElements)
VectorTrajectoryQPtr(TrajectoryQPtr[] initialElements)
VectorTrajectoryQPtr(VectorTrajectoryQPtr other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, TrajectoryQPtr e)
boolean
add(TrajectoryQPtr e)
long
capacity()
void
clear()
void
delete()
TrajectoryQPtr
get(int index)
static long
getCPtr(VectorTrajectoryQPtr obj)
boolean
isEmpty()
TrajectoryQPtr
remove(int index)
void
reserve(long n)
TrajectoryQPtr
set(int index, TrajectoryQPtr e)
int
size()
-
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
-
-
-
-
Constructor Detail
-
VectorTrajectoryQPtr
public VectorTrajectoryQPtr(long cPtr, boolean cMemoryOwn)
-
VectorTrajectoryQPtr
public VectorTrajectoryQPtr(TrajectoryQPtr[] initialElements)
-
VectorTrajectoryQPtr
public VectorTrajectoryQPtr(java.lang.Iterable<TrajectoryQPtr> initialElements)
-
VectorTrajectoryQPtr
public VectorTrajectoryQPtr()
-
VectorTrajectoryQPtr
public VectorTrajectoryQPtr(VectorTrajectoryQPtr other)
-
VectorTrajectoryQPtr
public VectorTrajectoryQPtr(int count, TrajectoryQPtr value)
-
-
Method Detail
-
getCPtr
public static long getCPtr(VectorTrajectoryQPtr obj)
-
delete
public void delete()
-
get
public TrajectoryQPtr get(int index)
- Specified by:
get
in interfacejava.util.List<TrajectoryQPtr>
- Specified by:
get
in classjava.util.AbstractList<TrajectoryQPtr>
-
set
public TrajectoryQPtr set(int index, TrajectoryQPtr e)
- Specified by:
set
in interfacejava.util.List<TrajectoryQPtr>
- Overrides:
set
in classjava.util.AbstractList<TrajectoryQPtr>
-
add
public boolean add(TrajectoryQPtr e)
- Specified by:
add
in interfacejava.util.Collection<TrajectoryQPtr>
- Specified by:
add
in interfacejava.util.List<TrajectoryQPtr>
- Overrides:
add
in classjava.util.AbstractList<TrajectoryQPtr>
-
add
public void add(int index, TrajectoryQPtr e)
- Specified by:
add
in interfacejava.util.List<TrajectoryQPtr>
- Overrides:
add
in classjava.util.AbstractList<TrajectoryQPtr>
-
remove
public TrajectoryQPtr remove(int index)
- Specified by:
remove
in interfacejava.util.List<TrajectoryQPtr>
- Overrides:
remove
in classjava.util.AbstractList<TrajectoryQPtr>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<TrajectoryQPtr>
- Specified by:
size
in interfacejava.util.List<TrajectoryQPtr>
- Specified by:
size
in classjava.util.AbstractCollection<TrajectoryQPtr>
-
capacity
public long capacity()
-
reserve
public void reserve(long n)
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacejava.util.Collection<TrajectoryQPtr>
- Specified by:
isEmpty
in interfacejava.util.List<TrajectoryQPtr>
- Overrides:
isEmpty
in classjava.util.AbstractCollection<TrajectoryQPtr>
-
clear
public void clear()
- Specified by:
clear
in interfacejava.util.Collection<TrajectoryQPtr>
- Specified by:
clear
in interfacejava.util.List<TrajectoryQPtr>
- Overrides:
clear
in classjava.util.AbstractList<TrajectoryQPtr>
-
-