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