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