Package com.amazonaws.test.util
Class IndexValues
- java.lang.Object
-
- com.amazonaws.test.util.IndexValues
-
-
Constructor Summary
Constructors Constructor Description IndexValues(int... lengths)
Constructs anIterable
for all possible combination of array index values given the array lengths.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<int[]>
iterator()
-
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 Detail
-
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
-
-