Class VectorBool
- All Implemented Interfaces:
Iterable<Boolean>,Collection<Boolean>,List<Boolean>,RandomAccess,SequencedCollection<Boolean>
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionVectorBool(boolean[] initialElements) VectorBool(int count, boolean value) protectedVectorBool(long cPtr, boolean cMemoryOwn) VectorBool(Iterable<Boolean> initialElements) VectorBool(VectorBool other) -
Method Summary
Modifier 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.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
-
VectorBool
protected VectorBool(long cPtr, boolean cMemoryOwn) -
VectorBool
public VectorBool(boolean[] initialElements) -
VectorBool
-
VectorBool
public VectorBool() -
VectorBool
-
VectorBool
public VectorBool(int count, boolean value)
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
-
delete
public void delete() -
get
-
set
-
add
- Specified by:
addin interfaceCollection<Boolean>- Specified by:
addin interfaceList<Boolean>- Overrides:
addin classAbstractList<Boolean>
-
add
-
remove
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classAbstractList<Boolean>
-
size
public int size()- Specified by:
sizein interfaceCollection<Boolean>- Specified by:
sizein interfaceList<Boolean>- Specified by:
sizein classAbstractCollection<Boolean>
-
capacity
public int capacity() -
reserve
public void reserve(int n) -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<Boolean>- Specified by:
isEmptyin interfaceList<Boolean>- Overrides:
isEmptyin classAbstractCollection<Boolean>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Boolean>- Specified by:
clearin interfaceList<Boolean>- Overrides:
clearin classAbstractList<Boolean>
-