Package it.unimi.dsi.bits
Class AbstractBitVector.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
- All Implemented Interfaces:
BigList<Long>,LongBigList,LongCollection,LongIterable,LongStack,Size64,Stack<Long>,Serializable,Comparable<BigList<? extends Long>>,Iterable<Long>,Collection<Long>
- Direct Known Subclasses:
LongArrayBitVector.LongBigListView,LongBigArrayBitVector.LongBigListView
- Enclosing class:
- AbstractBitVector
public static class AbstractBitVector.LongBigListView extends AbstractLongBigList implements LongBigList, Serializable
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
-
Constructor Summary
Constructors Constructor Description LongBigListView(BitVector bitVector, int width) -
Method Summary
Modifier and Type Method Description voidadd(int index, long value)voidadd(long index, long value)longgetLong(int index)longgetLong(long index)longlength()Deprecated.LongBigListlength(long newSize)Deprecated.LongBigListIteratorlistIterator()longremoveLong(long index)longset(long index, long value)intsize()Deprecated.voidsize(long newSize)longsize64()LongBigListsubList(long from, long to)Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongBigList
add, add, addAll, addAll, addAll, addAll, addAll, addAll, addElements, addElements, clear, 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, toStringMethods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongCollection
add, contains, containsAll, remove, removeAll, retainAll, toArray, toLongArray, toLongArrayMethods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
addAll, clear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, retainAll, spliterator, stream, toArray, toArray, toArrayMethods 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, setMethods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection
add, add, addAll, contains, contains, containsAll, rem, remove, removeAll, removeIf, removeIf, retainAll, toArray, toLongArray, toLongArray
-
Field Details
-
Constructor Details
-
Method Details
-
size
Deprecated.- Specified by:
sizein interfaceBigList<Long>- Specified by:
sizein interfaceCollection<Long>- Specified by:
sizein interfaceSize64- Overrides:
sizein classAbstractLongBigList
-
size64
public long size64() -
length
Deprecated. -
size
public void size(long newSize)- Specified by:
sizein interfaceBigList<Long>- Overrides:
sizein classAbstractLongBigList
-
length
Deprecated. -
listIterator
- Specified by:
listIteratorin interfaceBigList<Long>- Specified by:
listIteratorin interfaceLongBigList- Overrides:
listIteratorin classAbstractLongBigList
-
add
public void add(int index, long value) -
add
public void add(long index, long value)- Specified by:
addin interfaceLongBigList- Overrides:
addin classAbstractLongBigList
-
getLong
public long getLong(long index)- Specified by:
getLongin interfaceLongBigList
-
getLong
public long getLong(int index) -
removeLong
public long removeLong(long index)- Specified by:
removeLongin interfaceLongBigList- Overrides:
removeLongin classAbstractLongBigList
-
set
public long set(long index, long value)- Specified by:
setin interfaceLongBigList- Overrides:
setin classAbstractLongBigList
-
subList
- Specified by:
subListin interfaceBigList<Long>- Specified by:
subListin interfaceLongBigList- Overrides:
subListin classAbstractLongBigList
-