Class VectorUInt8
- All Implemented Interfaces:
- Iterable<Short>,- Collection<Short>,- List<Short>,- RandomAccess,- SequencedCollection<Short>
- 
Field SummaryFieldsFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructorsModifierConstructorDescriptionVectorUInt8(int count, short value) protectedVectorUInt8(long cPtr, boolean cMemoryOwn) VectorUInt8(short[] initialElements) VectorUInt8(Iterable<Short> initialElements) VectorUInt8(VectorUInt8 other) 
- 
Method SummaryModifier 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.AbstractListaddAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subListMethods inherited from class java.util.AbstractCollectionaddAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.ListaddAll, addFirst, addLast, contains, containsAll, getFirst, getLast, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
- 
Field Details- 
swigCMemOwnprotected transient boolean swigCMemOwn
 
- 
- 
Constructor Details- 
VectorUInt8protected VectorUInt8(long cPtr, boolean cMemoryOwn) 
- 
VectorUInt8public VectorUInt8(short[] initialElements) 
- 
VectorUInt8
- 
VectorUInt8public VectorUInt8()
- 
VectorUInt8
- 
VectorUInt8public VectorUInt8(int count, short value) 
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalize
- 
deletepublic void delete()
- 
get
- 
set
- 
add- Specified by:
- addin interface- Collection<Short>
- Specified by:
- addin interface- List<Short>
- Overrides:
- addin class- AbstractList<Short>
 
- 
add
- 
remove
- 
removeRangeprotected void removeRange(int fromIndex, int toIndex) - Overrides:
- removeRangein class- AbstractList<Short>
 
- 
sizepublic int size()- Specified by:
- sizein interface- Collection<Short>
- Specified by:
- sizein interface- List<Short>
- Specified by:
- sizein class- AbstractCollection<Short>
 
- 
capacitypublic int capacity()
- 
reservepublic void reserve(int n) 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin interface- Collection<Short>
- Specified by:
- isEmptyin interface- List<Short>
- Overrides:
- isEmptyin class- AbstractCollection<Short>
 
- 
clearpublic void clear()- Specified by:
- clearin interface- Collection<Short>
- Specified by:
- clearin interface- List<Short>
- Overrides:
- clearin class- AbstractList<Short>
 
 
-