MCPcopy Create free account
hub / github.com/antlr/codebuff / closedOpen

Method closedOpen

corpus/java/training/guava/collect/Range.java:181–183  ·  view source on GitHub ↗

Returns a range that contains all values greater than or equal to lower and strictly less than upper. @throws IllegalArgumentException if lower is greater than upper @since 14.0

(C lower, C upper)

Source from the content-addressed store, hash-verified

179 * @since 14.0
180 */
181 public static <C extends Comparable<?>> Range<C> closedOpen(C lower, C upper) {
182 return create(Cut.belowValue(lower), Cut.belowValue(upper));
183 }
184
185 /**
186 * Returns a range that contains all values strictly greater than {@code

Callers

nothing calls this directly

Calls 2

createMethod · 0.95
belowValueMethod · 0.95

Tested by

no test coverage detected