Package it.unimi.dsi.bits
Class LongArrayBitVector.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.LongArrayBitVector.LongBigListView
-
- All Implemented Interfaces:
BigList<Long>,LongBigList,LongCollection,LongIterable,LongStack,Size64,Stack<Long>,Serializable,Comparable<BigList<? extends Long>>,Iterable<Long>,Collection<Long>
- Enclosing class:
- LongArrayBitVector
protected static class LongArrayBitVector.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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.longs.AbstractLongBigList
AbstractLongBigList.LongSubList
-
-
Field Summary
-
Fields inherited from class it.unimi.dsi.bits.AbstractBitVector.LongBigListView
fullMask, width
-
-
Constructor Summary
Constructors Constructor Description LongBigListView(LongArrayBitVector bitVector, int width)
-
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, addAll, addAll, addElements, addElements, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, get, getElements, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, peek, peekLong, pop, popLong, push, push, rem, remove, removeElements, set, top, topLong, toString
-
Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongCollection
add, contains, containsAll, remove, removeAll, retainAll, toArray, toLongArray, toLongArray
-
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, 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, parallelStream, removeAll, retainAll, spliterator, stream, 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, addElements, addElements, get, getElements, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, remove, removeElements, set
-
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection
add, addAll, contains, contains, containsAll, rem, remove, removeAll, removeIf, removeIf, retainAll, toArray, toLongArray, toLongArray
-
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable
forEach, forEach
-
-
-
-
Constructor Detail
-
LongBigListView
public LongBigListView(LongArrayBitVector bitVector, int width)
-
-
Method Detail
-
add
public boolean add(long value)
- Specified by:
addin interfaceLongCollection- Overrides:
addin classAbstractLongBigList
-
getLong
public long getLong(long index)
- Specified by:
getLongin interfaceLongBigList- Overrides:
getLongin classAbstractBitVector.LongBigListView
-
clear
public void clear()
- Specified by:
clearin interfaceCollection<Long>- Overrides:
clearin classAbstractLongBigList
-
set
public long set(long index, long value)- Specified by:
setin interfaceLongBigList- Overrides:
setin classAbstractBitVector.LongBigListView
-
-