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