Package it.unimi.dsi.bits
Class LongBigArrayBitVector.LongBigListView
java.lang.Object
java.util.AbstractCollection<Long>
it.unimi.dsi.fastutil.longs.AbstractLongCollection
it.unimi.dsi.fastutil.longs.AbstractLongBigList
it.unimi.dsi.bits.AbstractBitVector.LongBigListView
it.unimi.dsi.bits.LongBigArrayBitVector.LongBigListView
- All Implemented Interfaces:
BigList<Long>
,LongBigList
,LongCollection
,LongIterable
,LongStack
,Size64
,Stack<Long>
,Serializable
,Comparable<BigList<? extends Long>>
,Iterable<Long>
,Collection<Long>
- Enclosing class:
- LongBigArrayBitVector
protected static class LongBigArrayBitVector.LongBigListView
extends AbstractBitVector.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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.longs.AbstractLongBigList
AbstractLongBigList.LongRandomAccessSubList, AbstractLongBigList.LongSubList
-
Field Summary
Fields inherited from class it.unimi.dsi.bits.AbstractBitVector.LongBigListView
fullMask, width
-
Constructor Summary
-
Method Summary
Methods inherited from class it.unimi.dsi.bits.AbstractBitVector.LongBigListView
add, add, getLong, length, length, listIterator, removeLong, size, size, size64, subList
Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongBigList
add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, forEach, get, getElements, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, peek, peekLong, pop, popLong, push, push, rem, remove, removeElements, set, setElements, top, topLong, toString
Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongCollection
add, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toArray, toLongArray, toLongArray
Methods inherited from class java.util.AbstractCollection
isEmpty, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
addAll, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, toArray, toArray, toArray
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongBigList
add, addAll, addAll, addAll, addAll, addAll, addElements, addElements, get, getElements, getElements, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, remove, removeElements, set, setElements, setElements, setElements, spliterator
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection
add, addAll, contains, contains, containsAll, longIterator, longParallelStream, longSpliterator, longStream, parallelStream, rem, remove, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toArray, toLongArray, toLongArray
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable
forEach, forEach, forEach
-
Constructor Details
-
LongBigListView
-
-
Method Details
-
add
public boolean add(long value) - Specified by:
add
in interfaceLongCollection
- Overrides:
add
in classAbstractLongBigList
-
getLong
public long getLong(long index) - Specified by:
getLong
in interfaceLongBigList
- Overrides:
getLong
in classAbstractBitVector.LongBigListView
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<Long>
- Overrides:
clear
in classAbstractLongBigList
-
set
public long set(long index, long value) - Specified by:
set
in interfaceLongBigList
- Overrides:
set
in classAbstractBitVector.LongBigListView
-