Class Range<E>

  • Type Parameters:
    E - the type of element in the range

    public final class Range<E>
    extends Object
    An range with an lower and upper bound.
    • Constructor Detail

      • Range

        public Range​(E low,
                     E high)
        Constructs a range
        Parameters:
        low - the lower bound, not null
        high - the upper bound, not null