|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.dsi.fastutil.longs.AbstractLongCollection
it.unimi.dsi.fastutil.longs.AbstractLongList
it.unimi.dsi.bits.AbstractBitVector.LongBigListView
it.unimi.dsi.bits.LongArrayBitVector.LongBigListView
protected static class LongArrayBitVector.LongBigListView
A list-of-integers view of a bit vector.
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.longs.AbstractLongList |
|---|
AbstractLongList.LongSubList |
| Field Summary |
|---|
| Fields inherited from class it.unimi.dsi.bits.AbstractBitVector.LongBigListView |
|---|
fullMask, width |
| Constructor Summary | |
|---|---|
LongArrayBitVector.LongBigListView(LongArrayBitVector bitVector,
int width)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class it.unimi.dsi.bits.AbstractBitVector.LongBigListView |
|---|
add, add, getLong, length, length, listIterator, removeLong, set, size, size, subList |
| Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongList |
|---|
add, 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, toString |
| Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongCollection |
|---|
add, contains, containsAll, containsAll, isEmpty, longIterator, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArray, toLongArray |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface it.unimi.dsi.fastutil.longs.LongList |
|---|
addAll, addAll, addAll, addElements, addElements, getElements, indexOf, iterator, lastIndexOf, listIterator, longListIterator, longListIterator, longSubList, removeElements, removeLong, subList |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, lastIndexOf, remove, remove, removeAll, retainAll, set, toArray, toArray |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection |
|---|
addAll, contains, containsAll, longIterator, rem, removeAll, retainAll, toArray, toArray, toLongArray, toLongArray |
| Methods inherited from interface it.unimi.dsi.fastutil.Stack |
|---|
isEmpty |
| Constructor Detail |
|---|
public LongArrayBitVector.LongBigListView(LongArrayBitVector bitVector,
int width)
| Method Detail |
|---|
public boolean add(long value)
add in interface LongCollectionadd in class AbstractLongListpublic long getLong(long index)
LongBigList
getLong in interface LongBigListgetLong in class AbstractBitVector.LongBigListViewindex - a position in the list.
List.get(int)public void clear()
clear in interface java.util.Collection<java.lang.Long>clear in interface java.util.List<java.lang.Long>clear in class AbstractLongCollection
public long set(long index,
long value)
LongBigList
set in interface LongBigListset in class AbstractBitVector.LongBigListViewindex - a position in the list.value - a long value.
List.set(int,Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||