Class VectorBool
- All Implemented Interfaces:
- Iterable<Boolean>,- Collection<Boolean>,- List<Boolean>,- RandomAccess,- SequencedCollection<Boolean>
- 
Field SummaryFieldsFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructorsModifierConstructorDescriptionVectorBool(boolean[] initialElements) VectorBool(int count, boolean value) protectedVectorBool(long cPtr, boolean cMemoryOwn) VectorBool(Iterable<Boolean> initialElements) VectorBool(VectorBool other) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidbooleanintcapacity()voidclear()voiddelete()protected voidfinalize()get(int index) protected static longgetCPtr(VectorBool obj) booleanisEmpty()remove(int index) protected voidremoveRange(int fromIndex, int toIndex) voidreserve(int n) intsize()protected static longswigRelease(VectorBool 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- 
VectorBoolprotected VectorBool(long cPtr, boolean cMemoryOwn) 
- 
VectorBoolpublic VectorBool(boolean[] initialElements) 
- 
VectorBool
- 
VectorBoolpublic VectorBool()
- 
VectorBool
- 
VectorBoolpublic VectorBool(int count, boolean value) 
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalize
- 
deletepublic void delete()
- 
get
- 
set
- 
add- Specified by:
- addin interface- Collection<Boolean>
- Specified by:
- addin interface- List<Boolean>
- Overrides:
- addin class- AbstractList<Boolean>
 
- 
add
- 
remove
- 
removeRangeprotected void removeRange(int fromIndex, int toIndex) - Overrides:
- removeRangein class- AbstractList<Boolean>
 
- 
sizepublic int size()- Specified by:
- sizein interface- Collection<Boolean>
- Specified by:
- sizein interface- List<Boolean>
- Specified by:
- sizein class- AbstractCollection<Boolean>
 
- 
capacitypublic int capacity()
- 
reservepublic void reserve(int n) 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin interface- Collection<Boolean>
- Specified by:
- isEmptyin interface- List<Boolean>
- Overrides:
- isEmptyin class- AbstractCollection<Boolean>
 
- 
clearpublic void clear()- Specified by:
- clearin interface- Collection<Boolean>
- Specified by:
- clearin interface- List<Boolean>
- Overrides:
- clearin class- AbstractList<Boolean>
 
 
-