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