Returns everything below the endpoint relative to the specified comparator, with the specified endpoint behavior.
(Comparator<? super T> comparator, @Nullable T endpoint, BoundType boundType)
| 78 | */ |
| 79 | |
| 80 | static <T> GeneralRange<T> upTo(Comparator<? super T> comparator, @Nullable T endpoint, BoundType boundType) { |
| 81 | return new GeneralRange<T>(comparator, false, null, OPEN, true, endpoint, boundType); |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * Returns everything between the endpoints relative to the specified comparator, with the |