public static class CombinationSupplier.BigInt extends CombinationSupplier implements Splittable.BigIntegerIndexed<int[]>
CombinationSupplier.BigInt, CombinationSupplier.Long
Splittable.BigIntegerIndexed<T>, Splittable.LongIndexed<T>
currentCombination, k, n
IDENTITY
Constructor and Description |
---|
BigInt(java.math.BigInteger count,
int n,
int k) |
Modifier and Type | Method and Description |
---|---|
int[] |
apply(java.math.BigInteger index) |
CombinationSupplier.BigInt |
split()
Splits this instance.
|
int[] |
unrank() |
computeNext, getCurrentSequence
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNextSequence
public CombinationSupplier.BigInt split()
Splittable
split
in interface Splittable<Splittable.BigIntegerIndexed<int[]>>
public int[] apply(java.math.BigInteger index)
apply
in interface java.util.function.Function<java.math.BigInteger,int[]>
public int[] unrank()
unrank
in interface IntArraySupplier