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