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