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