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