Class VectorDouble
- All Implemented Interfaces:
Iterable<Double>,Collection<Double>,List<Double>,RandomAccess,SequencedCollection<Double>
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionVectorDouble(double[] initialElements) VectorDouble(int count, double value) protectedVectorDouble(long cPtr, boolean cMemoryOwn) VectorDouble(Iterable<Double> initialElements) VectorDouble(VectorDouble other) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanintcapacity()voidclear()voiddelete()protected voidfinalize()get(int index) protected static longgetCPtr(VectorDouble obj) booleanisEmpty()remove(int index) protected voidremoveRange(int fromIndex, int toIndex) voidreserve(int n) intsize()protected static longswigRelease(VectorDouble 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
-
VectorDouble
protected VectorDouble(long cPtr, boolean cMemoryOwn) -
VectorDouble
public VectorDouble(double[] initialElements) -
VectorDouble
-
VectorDouble
public VectorDouble() -
VectorDouble
-
VectorDouble
public VectorDouble(int count, double value)
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
-
delete
public void delete() -
get
-
set
-
add
- Specified by:
addin interfaceCollection<Double>- Specified by:
addin interfaceList<Double>- Overrides:
addin classAbstractList<Double>
-
add
-
remove
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classAbstractList<Double>
-
size
public int size()- Specified by:
sizein interfaceCollection<Double>- Specified by:
sizein interfaceList<Double>- Specified by:
sizein classAbstractCollection<Double>
-
capacity
public int capacity() -
reserve
public void reserve(int n) -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<Double>- Specified by:
isEmptyin interfaceList<Double>- Overrides:
isEmptyin classAbstractCollection<Double>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Double>- Specified by:
clearin interfaceList<Double>- Overrides:
clearin classAbstractList<Double>
-