public static class PartialPermutationSupplier.Long extends PartialPermutationSupplier implements Splittable.LongIndexed<int[]>
PartialPermutationSupplier.BigInt, PartialPermutationSupplier.Long
Splittable.BigIntegerIndexed<T>, Splittable.LongIndexed<T>
currentPartialPermutation, HOLE, length
IDENTITY
Constructor and Description |
---|
Long(int length) |
Modifier and Type | Method and Description |
---|---|
int[] |
apply(long index) |
PartialPermutationSupplier.Long |
split()
Splits this instance.
|
int[] |
unrank() |
computeNext, getCurrentSequence, nextCombination
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNextSequence
public PartialPermutationSupplier.Long split()
Splittable
split
in interface Splittable<Splittable.LongIndexed<int[]>>
public int[] apply(long index)
apply
in interface java.util.function.LongFunction<int[]>
public int[] unrank()
unrank
in interface IntArraySupplier