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