public abstract class CartesianProductSupplier extends java.lang.Object implements IntArraySupplier
| Modifier and Type | Class and Description |
|---|---|
static class |
CartesianProductSupplier.BigInt |
static class |
CartesianProductSupplier.Long |
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
currentProduct |
protected int[] |
dimensions |
| Modifier and Type | Method and Description |
|---|---|
void |
computeNext()
Computes the value to be supplied next, using the currently supplied value.
|
int[] |
getCurrentSequence() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNextSequence, unrankprotected final int[] dimensions
protected final int[] currentProduct
public int[] getCurrentSequence()
getCurrentSequence in interface IntArraySupplierpublic void computeNext()
IntArraySupplierIntArraySupplier.getCurrentSequence() should return this newly computed value.computeNext in interface IntArraySupplier