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