Returns a range that contains all values strictly greater than {@code lower} and strictly less than {@code upper}. @throws IllegalArgumentException if {@code lower} is greater than <i>or equal to</i> {@code upper} @throws ClassCastException if {@code lower} and {@code upper} are not mutually co
(C lower, C upper)
| 143 | * @since 14.0 |
| 144 | */ |
| 145 | public static <C extends Comparable<?>> Range<C> open(C lower, C upper) { |
| 146 | return create(Cut.aboveValue(lower), Cut.belowValue(upper)); |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * Returns a range that contains all values greater than or equal to {@code lower} and less than |