Package it.unimi.dsi.big.util
Class PermutedFrontCodedStringBigList
java.lang.Object
java.util.AbstractCollection<CharSequence>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<CharSequence>
it.unimi.dsi.fastutil.objects.AbstractObjectBigList<CharSequence>
it.unimi.dsi.big.util.PermutedFrontCodedStringBigList
- All Implemented Interfaces:
it.unimi.dsi.fastutil.BigList<CharSequence>,it.unimi.dsi.fastutil.objects.ObjectBigList<CharSequence>,it.unimi.dsi.fastutil.objects.ObjectCollection<CharSequence>,it.unimi.dsi.fastutil.objects.ObjectIterable<CharSequence>,it.unimi.dsi.fastutil.Size64,it.unimi.dsi.fastutil.Stack<CharSequence>,Serializable,Comparable<it.unimi.dsi.fastutil.BigList<? extends CharSequence>>,Iterable<CharSequence>,Collection<CharSequence>
public class PermutedFrontCodedStringBigList
extends it.unimi.dsi.fastutil.objects.AbstractObjectBigList<CharSequence>
implements Serializable
A
FrontCodedStringBigList whose indices are permuted.
This class is functionally identical to PermutedFrontCodedStringList, except for the
larger size allowed.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectBigList
it.unimi.dsi.fastutil.objects.AbstractObjectBigList.ObjectRandomAccessSubList<K>, it.unimi.dsi.fastutil.objects.AbstractObjectBigList.ObjectSubList<K> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FrontCodedStringBigListThe underlying front-coded string list.protected final long[][]The permutation.static final long -
Constructor Summary
ConstructorsConstructorDescriptionPermutedFrontCodedStringBigList(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) voidget(long index, MutableString s) Returns the element at the specified position in this front-coded list by storing it in a mutable string.it.unimi.dsi.fastutil.objects.ObjectBigListIterator<CharSequence> listIterator(long k) static voidlongsize64()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, toStringMethods inherited from class java.util.AbstractCollection
containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
containsAll, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, stream, toArray, toArray, toArrayMethods inherited from interface it.unimi.dsi.fastutil.objects.ObjectBigList
addAll, addAll, addAll, addAll, getElements, setElements, setElements, spliteratorMethods inherited from interface it.unimi.dsi.fastutil.Stack
isEmpty
-
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:
getin interfaceit.unimi.dsi.fastutil.BigList<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()- Specified by:
size64in interfaceit.unimi.dsi.fastutil.Size64
-
listIterator
- Specified by:
listIteratorin interfaceit.unimi.dsi.fastutil.BigList<CharSequence>- Specified by:
listIteratorin interfaceit.unimi.dsi.fastutil.objects.ObjectBigList<CharSequence>- Overrides:
listIteratorin classit.unimi.dsi.fastutil.objects.AbstractObjectBigList<CharSequence>
-
main
public static void main(String[] arg) throws IOException, ClassNotFoundException, com.martiansoftware.jsap.JSAPException - Throws:
IOExceptionClassNotFoundExceptioncom.martiansoftware.jsap.JSAPException
-