Interface LongRange.LongRangeFrom

  • Enclosing class:
    LongRange

    public static interface LongRange.LongRangeFrom
    A partially constructed LongRange, with the lower bound already provided.
    • Method Detail

      • to

        LongRange to​(long maxInclusive)
        Creates a LongRange from the already provided lower bound to maxInclusive.
        Parameters:
        maxInclusive - the upper bound (inclusive) of the range
        Returns:
        a LongRange
      • until

        LongRange until​(long maxExclusive)
        Creates a LongRange from the already provided lower bound to maxExclusive.
        Parameters:
        maxExclusive - the upper bound (exclusive) of the range
        Returns:
        a LongRange