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