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