(package private) static <T> GeneralRange<T> |
GeneralRange.all(java.util.Comparator<? super T> comparator) |
Returns the whole range relative to the specified comparator.
|
(package private) static <T> GeneralRange<T> |
GeneralRange.downTo(java.util.Comparator<? super T> comparator,
T endpoint,
BoundType boundType) |
Returns everything above the endpoint relative to the specified comparator, with the specified
endpoint behavior.
|
(package private) static <T extends java.lang.Comparable> GeneralRange<T> |
GeneralRange.from(Range<T> range) |
Converts a Range to a GeneralRange.
|
(package private) GeneralRange<T> |
GeneralRange.intersect(GeneralRange<T> other) |
Returns the intersection of the two ranges, or an empty range if their intersection is empty.
|
(package private) static <T> GeneralRange<T> |
GeneralRange.range(java.util.Comparator<? super T> comparator,
T lower,
BoundType lowerType,
T upper,
BoundType upperType) |
Returns everything between the endpoints relative to the specified comparator, with the
specified endpoint behavior.
|
(package private) GeneralRange<T> |
GeneralRange.reverse() |
Returns the same range relative to the reversed comparator.
|
(package private) static <T> GeneralRange<T> |
GeneralRange.upTo(java.util.Comparator<? super T> comparator,
T endpoint,
BoundType boundType) |
Returns everything below the endpoint relative to the specified comparator, with the specified
endpoint behavior.
|