Class IndexValues

java.lang.Object
com.amazonaws.test.util.IndexValues
All Implemented Interfaces:
Iterable<int[]>

public class IndexValues extends Object implements 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 Details

    • IndexValues

      public IndexValues(int... lengths)
      Constructs an Iterable 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