Class 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).