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