Interface FloatRange.FloatRangeFrom

  • Enclosing class:
    FloatRange

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

      • to

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

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