Class IntegerRange

java.lang.Object
org.apache.tapestry5.commons.util.IntegerRange
All Implemented Interfaces:
Iterable<Integer>

public final class IntegerRange extends Object implements Iterable<Integer>
Represents a sequence of integer values, either ascending or descending. The sequence is always inclusive (of the finish value).
  • Constructor Details

    • IntegerRange

      public IntegerRange(int start, int finish)
  • Method Details