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