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