- Enclosing class:
- Range
public static class Range.RangeBuilder
extends Object
-
Method Summary
Sets the end value to infinity.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
to
@NotNull
public @NotNull Range to(int end)
Sets the end value.
-
toInfinity
@NotNull
public @NotNull Range toInfinity()
Sets the end value to infinity.