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