Package com.amazonaws.test.util
Class IndexValues
java.lang.Object
com.amazonaws.test.util.IndexValues
- All Implemented Interfaces:
Iterable<int[]>
Used to iterate through all possible combination of array index values given
the array lengths. This can be useful for generating unit test cases.
-
Constructor Summary
ConstructorsConstructorDescriptionIndexValues
(int... lengths) Constructs anIterable
for all possible combination of array index values given the array lengths. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
IndexValues
public IndexValues(int... lengths) Constructs anIterable
for all possible combination of array index values given the array lengths. This can be useful for generating unit test cases.- Parameters:
lengths
- array lengths
-
-
Method Details