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