Class EliasFanoMonotoneLongBigList16
- All Implemented Interfaces:
BigList<Long>
,LongBigList
,LongCollection
,LongIterable
,LongStack
,Size64
,Stack<Long>
,Serializable
,Comparable<BigList<? extends Long>>
,Iterable<Long>
,Collection<Long>
Instances of this class behave like those of EliasFanoMonotoneLongBigList
, but they use a
big array of shorts to store the lower bits, thus bypassing the 128Gb limit of a
LongArrayBitVector
instance.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.longs.AbstractLongBigList
AbstractLongBigList.LongRandomAccessSubList, AbstractLongBigList.LongSubList
-
Field Summary
Modifier and TypeFieldDescriptionprotected final long
Deprecated.The length of the sequence.protected final short[][]
Deprecated.The list of lower bits of each element, stored explicitly.protected final SimpleSelect
Deprecated.The select structure used to extract the upper bits. -
Constructor Summary
ModifierConstructorDescriptionprotected
EliasFanoMonotoneLongBigList16
(long[] a, LongIterator iterator) Deprecated.Creates an Elias–Fano representation of the values returned by an iterator, given that the overall number of elements and an upper bound are provided, too.EliasFanoMonotoneLongBigList16
(long n, long upperBound, ByteIterator iterator) Deprecated.Creates an Elias–Fano representation of the values returned by an iterator, given that the overall number of elements and an upper bound are provided, too.EliasFanoMonotoneLongBigList16
(long n, long upperBound, IntIterator iterator) Deprecated.Creates an Elias–Fano representation of the values returned by an iterator, given that the overall number of elements and an upper bound are provided, too.EliasFanoMonotoneLongBigList16
(long n, long upperBound, LongIterator iterator) Deprecated.Creates an Elias–Fano representation of the values returned by an iterator, given that the overall number of elements and an upper bound are provided, too.EliasFanoMonotoneLongBigList16
(long n, long upperBound, ShortIterator iterator) Deprecated.Creates an Elias–Fano representation of the values returned by an iterator, given that the overall number of elements and an upper bound are provided, too.protected
EliasFanoMonotoneLongBigList16
(long length, short[][] lowerBits, SimpleSelect selectUpper) Deprecated.Deprecated.Creates an Elias–Fano representation of the values returned by the given iterable object.Deprecated.Creates an Elias–Fano representation of the values returned by the given iterable object.Deprecated.Creates an Elias–Fano representation of the values returned by the given iterable object.Deprecated.Creates an Elias–Fano representation of the values returned by the given iterable object. -
Method Summary
Modifier and TypeMethodDescriptionlong[]
get
(long index, long[] dest) Deprecated.Extracts a number of consecutive entries into a given array.long[]
get
(long index, long[] dest, int offset, int length) Deprecated.Extracts a number of consecutive entries into a given array fragment.long
getLong
(long index) Deprecated.long
numBits()
Deprecated.long
size64()
Deprecated.Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongBigList
add, add, add, addAll, addAll, addAll, addAll, addElements, addElements, clear, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, forEach, get, getElements, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, peek, peekLong, pop, popLong, push, push, rem, remove, removeElements, removeLong, set, set, setElements, size, size, subList, 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
containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toArray
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongBigList
addAll, addAll, addAll, addAll, getElements, setElements, setElements, spliterator
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection
add, contains, containsAll, longIterator, longParallelStream, longSpliterator, longStream, parallelStream, remove, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toArray, toLongArray, toLongArray
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable
forEach, forEach
-
Field Details
-
length
protected final long lengthDeprecated.The length of the sequence. -
lowerBits
protected final short[][] lowerBitsDeprecated.The list of lower bits of each element, stored explicitly. -
selectUpper
Deprecated.The select structure used to extract the upper bits.
-
-
Constructor Details
-
EliasFanoMonotoneLongBigList16
protected EliasFanoMonotoneLongBigList16(long length, short[][] lowerBits, SimpleSelect selectUpper) Deprecated. -
EliasFanoMonotoneLongBigList16
Deprecated.Creates an Elias–Fano representation of the values returned by the given iterable object.- Parameters:
list
- an iterable object.
-
EliasFanoMonotoneLongBigList16
Deprecated.Creates an Elias–Fano representation of the values returned by the given iterable object.- Parameters:
list
- an iterable object.
-
EliasFanoMonotoneLongBigList16
Deprecated.Creates an Elias–Fano representation of the values returned by the given iterable object.- Parameters:
list
- an iterable object.
-
EliasFanoMonotoneLongBigList16
Deprecated.Creates an Elias–Fano representation of the values returned by the given iterable object.- Parameters:
list
- an iterable object.
-
EliasFanoMonotoneLongBigList16
Deprecated.Creates an Elias–Fano representation of the values returned by an iterator, given that the overall number of elements and an upper bound are provided, too.This constructor is particularly useful if the elements of the iterator are provided by some sequential source.
- Parameters:
n
- the number of elements returned byiterator
.upperBound
- an upper bound to the values returned byiterator
(note that it used to be a strict upper bound).iterator
- an iterator returning nondecreasing elements.
-
EliasFanoMonotoneLongBigList16
Deprecated.Creates an Elias–Fano representation of the values returned by an iterator, given that the overall number of elements and an upper bound are provided, too.This constructor is particularly useful if the elements of the iterator are provided by some sequential source.
- Parameters:
n
- the number of elements returned byiterator
.upperBound
- an upper bound to the values returned byiterator
(note that it used to be a strict upper bound).iterator
- an iterator returning nondecreasing elements.
-
EliasFanoMonotoneLongBigList16
Deprecated.Creates an Elias–Fano representation of the values returned by an iterator, given that the overall number of elements and an upper bound are provided, too.This constructor is particularly useful if the elements of the iterator are provided by some sequential source.
- Parameters:
n
- the number of elements returned byiterator
.upperBound
- an upper bound to the values returned byiterator
(note that it used to be a strict upper bound).iterator
- an iterator returning nondecreasing elements.
-
EliasFanoMonotoneLongBigList16
Deprecated.Creates an Elias–Fano representation of the values returned by an iterator, given that the overall number of elements and an upper bound are provided, too.This constructor is particularly useful if the elements of the iterator are provided by some sequential source.
- Parameters:
n
- the number of elements returned byiterator
.upperBound
- an upper bound to the values returned byiterator
(note that it used to be a strict upper bound).iterator
- an iterator returning nondecreasing elements.
-
EliasFanoMonotoneLongBigList16
Deprecated.Creates an Elias–Fano representation of the values returned by an iterator, given that the overall number of elements and an upper bound are provided, too.This constructor is used only internally, to work around the usual problems caused by the obligation to call
this()
before anything else.- Parameters:
a
- an array containing the number of elements returned byiterator
and a (strict) upper bound to the values returned byiterator
.iterator
- an iterator returning nondecreasing elements.
-
-
Method Details
-
numBits
public long numBits()Deprecated. -
getLong
public long getLong(long index) Deprecated.- Specified by:
getLong
in interfaceLongBigList
-
get
public long[] get(long index, long[] dest, int offset, int length) Deprecated.Extracts a number of consecutive entries into a given array fragment.- Parameters:
index
- the index of the first entry returned.dest
- the destination array; it will be filled withlength
consecutive entries starting at positionoffset
.offset
- the first position written indest
.length
- the number of elements written indest
starting atoffset
.- Returns:
dest
- See Also:
-
get
public long[] get(long index, long[] dest) Deprecated.Extracts a number of consecutive entries into a given array.- Parameters:
index
- the index of the first entry returned.dest
- the destination array; it will be filled with consecutive entries.- Returns:
dest
- See Also:
-
size64
public long size64()Deprecated.
-
EliasFanoMonotoneBigLongBigList