Returns a range that contains all values greater than or equal to {@code lower} and strictly less than {@code upper}. @throws IllegalArgumentException if {@code lower} is greater than {@code upper} @throws ClassCastException if {@code lower} and {@code upper} are not mutually comparable @since 14.0
(C lower, C upper)
| 167 | * @since 14.0 |
| 168 | */ |
| 169 | public static <C extends Comparable<?>> Range<C> closedOpen(C lower, C upper) { |
| 170 | return create(Cut.belowValue(lower), Cut.belowValue(upper)); |
| 171 | } |
| 172 | |
| 173 | /** |
| 174 | * Returns a range that contains all values strictly greater than {@code lower} and less than or |