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