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