Class VectorFloat
- All Implemented Interfaces:
Iterable<Float>,Collection<Float>,List<Float>,RandomAccess,SequencedCollection<Float>
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionVectorFloat(float[] initialElements) VectorFloat(int count, float value) protectedVectorFloat(long cPtr, boolean cMemoryOwn) VectorFloat(Iterable<Float> initialElements) VectorFloat(VectorFloat other) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanintcapacity()voidclear()voiddelete()protected voidfinalize()get(int index) protected static longgetCPtr(VectorFloat obj) booleanisEmpty()remove(int index) protected voidremoveRange(int fromIndex, int toIndex) voidreserve(int n) intsize()protected static longswigRelease(VectorFloat obj) Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
VectorFloat
protected VectorFloat(long cPtr, boolean cMemoryOwn) -
VectorFloat
public VectorFloat(float[] initialElements) -
VectorFloat
-
VectorFloat
public VectorFloat() -
VectorFloat
-
VectorFloat
public VectorFloat(int count, float value)
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
-
delete
public void delete() -
get
-
set
-
add
- Specified by:
addin interfaceCollection<Float>- Specified by:
addin interfaceList<Float>- Overrides:
addin classAbstractList<Float>
-
add
-
remove
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classAbstractList<Float>
-
size
public int size()- Specified by:
sizein interfaceCollection<Float>- Specified by:
sizein interfaceList<Float>- Specified by:
sizein classAbstractCollection<Float>
-
capacity
public int capacity() -
reserve
public void reserve(int n) -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<Float>- Specified by:
isEmptyin interfaceList<Float>- Overrides:
isEmptyin classAbstractCollection<Float>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Float>- Specified by:
clearin interfaceList<Float>- Overrides:
clearin classAbstractList<Float>
-