Interface FloatRange.FloatRangeFrom
-
- Enclosing class:
- FloatRange
public static interface FloatRange.FloatRangeFromA partially constructedFloatRange, with the lower bound already provided.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FloatRangeto(float maxInclusive)Creates aFloatRangefrom the already provided lower bound tomaxInclusive.FloatRangeuntil(float maxExclusive)Creates aFloatRangefrom the already provided lower bound tomaxExclusive.
-
-
-
Method Detail
-
to
FloatRange to(float maxInclusive)
Creates aFloatRangefrom the already provided lower bound tomaxInclusive.- Parameters:
maxInclusive- the upper bound (inclusive) of the range- Returns:
- a
FloatRange
-
until
FloatRange until(float maxExclusive)
Creates aFloatRangefrom the already provided lower bound tomaxExclusive.- Parameters:
maxExclusive- the upper bound (exclusive) of the range- Returns:
- a
FloatRange
-
-