Class VectorInt16
- All Implemented Interfaces:
- Iterable<Short>,- Collection<Short>,- List<Short>,- RandomAccess,- SequencedCollection<Short>
- 
Field SummaryFieldsFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructorsModifierConstructorDescriptionVectorInt16(int count, short value) protectedVectorInt16(long cPtr, boolean cMemoryOwn) VectorInt16(short[] initialElements) VectorInt16(Iterable<Short> initialElements) VectorInt16(VectorInt16 other) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidbooleanintcapacity()voidclear()voiddelete()protected voidfinalize()get(int index) protected static longgetCPtr(VectorInt16 obj) booleanisEmpty()remove(int index) protected voidremoveRange(int fromIndex, int toIndex) voidreserve(int n) intsize()protected static longswigRelease(VectorInt16 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- 
VectorInt16protected VectorInt16(long cPtr, boolean cMemoryOwn) 
- 
VectorInt16public VectorInt16(short[] initialElements) 
- 
VectorInt16
- 
VectorInt16public VectorInt16()
- 
VectorInt16
- 
VectorInt16public VectorInt16(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>
 
 
-