static <T extends Comparable<T>> Range<T> |
Range.endingAt(T upperBound) |
Creates a range with an upper bound and no lower bound.
|
static <T extends Comparable<T>> Range<T> |
Range.of(T lowerBound,
T upperBound) |
Creates a range with a lower bound and an upper bound.
|
static <T extends Comparable<T>> Range<T> |
Range.startingAt(T lowerBound) |
Creates a range with a lower bound and no upper bound.
|
static <T extends Comparable<T>> Range<T> |
Range.unbounded() |
Creates a range with no lower bound and no upper bound.
|