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