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 voidadd(int index, ParallelLeg e)booleanadd(ParallelLeg e)longcapacity()voidclear()voiddelete()ParallelLegget(int index)static longgetCPtr(VectorParallelLeg_p obj)booleanisEmpty()ParallelLegremove(int index)voidreserve(long n)ParallelLegset(int index, ParallelLeg e)intsize()-
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:
getin interfacejava.util.List<ParallelLeg>- Specified by:
getin classjava.util.AbstractList<ParallelLeg>
-
set
public ParallelLeg set(int index, ParallelLeg e)
- Specified by:
setin interfacejava.util.List<ParallelLeg>- Overrides:
setin classjava.util.AbstractList<ParallelLeg>
-
add
public boolean add(ParallelLeg e)
- Specified by:
addin interfacejava.util.Collection<ParallelLeg>- Specified by:
addin interfacejava.util.List<ParallelLeg>- Overrides:
addin classjava.util.AbstractList<ParallelLeg>
-
add
public void add(int index, ParallelLeg e)- Specified by:
addin interfacejava.util.List<ParallelLeg>- Overrides:
addin classjava.util.AbstractList<ParallelLeg>
-
remove
public ParallelLeg remove(int index)
- Specified by:
removein interfacejava.util.List<ParallelLeg>- Overrides:
removein classjava.util.AbstractList<ParallelLeg>
-
size
public int size()
- Specified by:
sizein interfacejava.util.Collection<ParallelLeg>- Specified by:
sizein interfacejava.util.List<ParallelLeg>- Specified by:
sizein classjava.util.AbstractCollection<ParallelLeg>
-
capacity
public long capacity()
-
reserve
public void reserve(long n)
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacejava.util.Collection<ParallelLeg>- Specified by:
isEmptyin interfacejava.util.List<ParallelLeg>- Overrides:
isEmptyin classjava.util.AbstractCollection<ParallelLeg>
-
clear
public void clear()
- Specified by:
clearin interfacejava.util.Collection<ParallelLeg>- Specified by:
clearin interfacejava.util.List<ParallelLeg>- Overrides:
clearin classjava.util.AbstractList<ParallelLeg>
-
-