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