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