protected static class LongArrayBitVector.LongBigListView extends AbstractBitVector.LongBigListView
This class implements in the obvious way a view of a bit vector as a list of integers of given width. The vector is enlarged as needed (i.e., when adding new elements), but it is never shrunk.
AbstractLongBigList.LongSubList
fullMask, width
Constructor and Description |
---|
LongArrayBitVector.LongBigListView(LongArrayBitVector bitVector,
int width) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(long value) |
void |
clear() |
long |
getLong(long index) |
long |
set(long index,
long value) |
add, add, getLong, length, length, listIterator, removeLong, set, size, size, size64, subList
add, addAll, addAll, addAll, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, get, getElements, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, peek, peekLong, pop, popLong, push, push, rem, remove, remove, removeElements, removeLong, set, size, top, topLong, toString
add, contains, containsAll, containsAll, isEmpty, longIterator, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArray, toLongArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, addAll, addAll, addElements, addElements, getElements, indexOf, iterator, lastIndexOf, listIterator, removeElements
add, addAll, get, indexOf, lastIndexOf, remove, set
addAll, contains, containsAll, longIterator, rem, removeAll, retainAll, toArray, toArray, toLongArray, toLongArray
add, addAll, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray
compareTo
public LongArrayBitVector.LongBigListView(LongArrayBitVector bitVector, int width)
public boolean add(long value)
add
in interface LongCollection
add
in class AbstractLongBigList
public long getLong(long index)
getLong
in interface LongBigList
getLong
in class AbstractBitVector.LongBigListView
public void clear()
clear
in interface Collection<Long>
clear
in class AbstractCollection<Long>
public long set(long index, long value)
set
in interface LongBigList
set
in class AbstractBitVector.LongBigListView