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 |
---|---|
Iterator<int[]> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public 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 © 2024. All rights reserved.