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