public class IndexValues
extends java.lang.Object
implements java.lang.Iterable<int[]>
Modifier and Type | Class and Description |
---|---|
private static class |
IndexValues.Iter |
Modifier and Type | Field and Description |
---|---|
private int[] |
lengths |
Constructor and Description |
---|
IndexValues(int... lengths)
Constructs an
Iterable for all possible combination of array
index values given the array lengths. |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<int[]> |
iterator() |