public static class PermutationSupplier.Long extends PermutationSupplier implements Splittable.LongIndexed<int[]>
PermutationSupplier.BigInt, PermutationSupplier.Long
Splittable.BigIntegerIndexed<T>, Splittable.LongIndexed<T>
currentPermutation, length
IDENTITY
Constructor and Description |
---|
Long(int length) |
Modifier and Type | Method and Description |
---|---|
int[] |
apply(long index) |
PermutationSupplier.Long |
split()
Splits this instance.
|
int[] |
unrank() |
computeNext, getCurrentSequence
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNextSequence
public PermutationSupplier.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