Class Range

  • All Implemented Interfaces:
    Iterable<Integer>

    public final class Range
    extends Object
    implements Iterable<Integer>
    Represents an integer range suitable for iterating over. As is typical in Java, it is inclusive for the start value and exclusive for the end value.