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.LongSubListfullMask, 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, subListadd, 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, toStringadd, contains, containsAll, containsAll, isEmpty, longIterator, rem, remove, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArray, toLongArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, addAll, addAll, addElements, addElements, getElements, indexOf, iterator, lastIndexOf, listIterator, removeElementsadd, addAll, get, indexOf, lastIndexOf, remove, setaddAll, contains, containsAll, longIterator, rem, removeAll, retainAll, toArray, toArray, toLongArray, toLongArrayadd, addAll, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArraycompareTopublic LongArrayBitVector.LongBigListView(LongArrayBitVector bitVector, int width)
public boolean add(long value)
add in interface LongCollectionadd in class AbstractLongBigListpublic long getLong(long index)
getLong in interface LongBigListgetLong in class AbstractBitVector.LongBigListViewpublic void clear()
clear in interface Collection<Long>clear in class AbstractCollection<Long>public long set(long index,
long value)
set in interface LongBigListset in class AbstractBitVector.LongBigListView