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.
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)
Returns the long at the given position.
|
long |
set(long index,
long value)
Sets the long at the given position.
|
add, add, getLong, length, length, listIterator, removeLong, set, size, size, subListadd, addAll, addAll, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, get, getElements, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, longListIterator, longListIterator, longSubList, peek, peekLong, pop, popLong, push, push, rem, remove, remove, removeElements, removeLong, set, subList, top, topLong, toStringadd, contains, containsAll, containsAll, isEmpty, longIterator, rem, 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, longListIterator, longListIterator, longSubList, removeElements, removeLong, subListadd, add, addAll, addAll, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, lastIndexOf, remove, remove, removeAll, retainAll, set, toArray, toArraycompareTopublic LongArrayBitVector.LongBigListView(LongArrayBitVector bitVector, int width)
public boolean add(long value)
add in interface it.unimi.dsi.fastutil.longs.LongCollectionadd in interface it.unimi.dsi.fastutil.longs.LongListadd in class it.unimi.dsi.fastutil.longs.AbstractLongListpublic long getLong(long index)
LongBigListgetLong in interface LongBigListgetLong in class AbstractBitVector.LongBigListViewindex - a position in the list.List.get(int)public void clear()
clear in interface Collection<Long>clear in interface List<Long>clear in class AbstractCollection<Long>public long set(long index,
long value)
LongBigListset in interface LongBigListset in class AbstractBitVector.LongBigListViewindex - a position in the list.value - a long value.List.set(int,Object)Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.