| Constructor | Description |
|---|---|
IndexValues(int... lengths) |
Constructs an
Iterable for all possible combination of array
index values given the array lengths. |
| Modifier and Type | Method | Description |
|---|---|---|
Iterator<int[]> |
iterator() |
forEach, spliteratorpublic IndexValues(int... lengths)
Iterable for all possible combination of array
index values given the array lengths. This can be useful for generating
unit test cases.lengths - array lengthsCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.