Package it.unimi.dsi.big.util
Class PermutedFrontCodedStringBigList
java.lang.Object
java.util.AbstractCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectBigList<CharSequence>
it.unimi.dsi.big.util.PermutedFrontCodedStringBigList
- All Implemented Interfaces:
BigList<CharSequence>
,ObjectBigList<CharSequence>
,ObjectCollection<CharSequence>
,ObjectIterable<CharSequence>
,Size64
,Stack<CharSequence>
,Serializable
,Comparable<BigList<? extends CharSequence>>
,Iterable<CharSequence>
,Collection<CharSequence>
public class PermutedFrontCodedStringBigList
extends AbstractObjectBigList<CharSequence>
implements Serializable
A
FrontCodedStringBigList
whose indices are permuted.
This class is functionally identical to PermutedFrontCodedStringList
, except for the
larger size allowed.
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectBigList
AbstractObjectBigList.ObjectRandomAccessSubList<K extends Object>, AbstractObjectBigList.ObjectSubList<K extends Object>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final FrontCodedStringBigList
The underlying front-coded string list.protected final long[][]
The permutation.static final long
-
Constructor Summary
ConstructorDescriptionPermutedFrontCodedStringBigList
(FrontCodedStringBigList frontCodedStringBihList, long[][] permutation) Creates a new permuted front-coded string list using a given front-coded string list and permutation. -
Method Summary
Modifier and TypeMethodDescriptionget
(long index) void
get
(long index, MutableString s) Returns the element at the specified position in this front-coded list by storing it in a mutable string.listIterator
(long k) static void
long
size64()
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectBigList
add, add, addAll, addAll, addElements, addElements, clear, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, forEach, getElements, hashCode, indexOf, iterator, lastIndexOf, listIterator, peek, pop, push, remove, removeElements, set, setElements, size, size, subList, top, toString
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, remove, 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
containsAll, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, stream, toArray, toArray, toArray
Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectBigList
addAll, addAll, addAll, addAll, getElements, setElements, setElements, spliterator
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
frontCodedStringBigList
The underlying front-coded string list. -
permutation
protected final long[][] permutationThe permutation.
-
-
Constructor Details
-
PermutedFrontCodedStringBigList
public PermutedFrontCodedStringBigList(FrontCodedStringBigList frontCodedStringBihList, long[][] permutation) Creates a new permuted front-coded string list using a given front-coded string list and permutation.- Parameters:
frontCodedStringBihList
- the underlying front-coded string big list.permutation
- the underlying permutation (a big array of longs).
-
-
Method Details
-
get
- Specified by:
get
in interfaceBigList<CharSequence>
-
get
Returns the element at the specified position in this front-coded list by storing it in a mutable string.- Parameters:
index
- an index in the list.s
- a mutable string that will contain the string at the specified position.
-
size64
public long size64() -
listIterator
- Specified by:
listIterator
in interfaceBigList<CharSequence>
- Specified by:
listIterator
in interfaceObjectBigList<CharSequence>
- Overrides:
listIterator
in classAbstractObjectBigList<CharSequence>
-
main
-