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:
it.unimi.dsi.fastutil.BigList<Long>, it.unimi.dsi.fastutil.longs.LongBigList, it.unimi.dsi.fastutil.longs.LongCollection, it.unimi.dsi.fastutil.longs.LongIterable, it.unimi.dsi.fastutil.longs.LongStack, it.unimi.dsi.fastutil.Size64, it.unimi.dsi.fastutil.Stack<Long>, Serializable, Comparable<it.unimi.dsi.fastutil.BigList<? extends Long>>, Iterable<Long>, Collection<Long>
- Enclosing class:
LongArrayBitVector
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
it.unimi.dsi.fastutil.longs.AbstractLongBigList.LongRandomAccessSubList, it.unimi.dsi.fastutil.longs.AbstractLongBigList.LongSubList -
Field Summary
Fields inherited from class AbstractBitVector.LongBigListView
fullMask, width -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractBitVector.LongBigListView
add, add, getLong, length, length, listIterator, removeLong, size, size, size64, subListMethods 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, toStringMethods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongCollection
add, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toArray, toLongArray, toLongArrayMethods inherited from class AbstractCollection
isEmpty, toArray, toArrayMethods inherited from interface it.unimi.dsi.fastutil.BigList
addAllMethods inherited from interface Collection
addAll, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, toArray, toArray, toArrayMethods inherited from interface Comparable
compareToMethods 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, spliteratorMethods 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, toLongArrayMethods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable
forEach, forEach, forEachMethods inherited from interface it.unimi.dsi.fastutil.Stack
isEmpty
-
Constructor Details
-
LongBigListView
-
-
Method Details
-
add
public boolean add(long value) - Specified by:
addin interfaceit.unimi.dsi.fastutil.longs.LongCollection- Overrides:
addin classit.unimi.dsi.fastutil.longs.AbstractLongBigList
-
getLong
public long getLong(long index) - Specified by:
getLongin interfaceit.unimi.dsi.fastutil.longs.LongBigList- Overrides:
getLongin classAbstractBitVector.LongBigListView
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Long>- Overrides:
clearin classit.unimi.dsi.fastutil.longs.AbstractLongBigList
-
set
public long set(long index, long value) - Specified by:
setin interfaceit.unimi.dsi.fastutil.longs.LongBigList- Overrides:
setin classAbstractBitVector.LongBigListView
-