Package org.robwork.sdurw_models
Class DevicePtrVector
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<DevicePtr>
-
- org.robwork.sdurw_models.DevicePtrVector
-
-
Constructor Summary
Constructors Constructor Description DevicePtrVector()DevicePtrVector(int count, DevicePtr value)DevicePtrVector(long cPtr, boolean cMemoryOwn)DevicePtrVector(java.lang.Iterable<DevicePtr> initialElements)DevicePtrVector(DevicePtr[] initialElements)DevicePtrVector(DevicePtrVector other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, DevicePtr e)booleanadd(DevicePtr e)longcapacity()voidclear()voiddelete()DevicePtrget(int index)static longgetCPtr(DevicePtrVector obj)booleanisEmpty()DevicePtrremove(int index)voidreserve(long n)DevicePtrset(int index, DevicePtr e)intsize()-
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
-
-
-
-
Constructor Detail
-
DevicePtrVector
public DevicePtrVector(long cPtr, boolean cMemoryOwn)
-
DevicePtrVector
public DevicePtrVector(DevicePtr[] initialElements)
-
DevicePtrVector
public DevicePtrVector(java.lang.Iterable<DevicePtr> initialElements)
-
DevicePtrVector
public DevicePtrVector()
-
DevicePtrVector
public DevicePtrVector(DevicePtrVector other)
-
DevicePtrVector
public DevicePtrVector(int count, DevicePtr value)
-
-
Method Detail
-
getCPtr
public static long getCPtr(DevicePtrVector obj)
-
delete
public void delete()
-
get
public DevicePtr get(int index)
-
add
public boolean add(DevicePtr e)
-
add
public void add(int index, DevicePtr e)
-
remove
public DevicePtr remove(int index)
-
size
public int size()
-
capacity
public long capacity()
-
reserve
public void reserve(long n)
-
isEmpty
public boolean isEmpty()
-
-