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

Method closedOpen

output/java_guava/1.4.18/Range.java:184–186  ·  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

182
183
184 public static <C extends Comparable<?>> Range<C> closedOpen(C lower, C upper) {
185 return create(Cut.belowValue(lower), Cut.belowValue(upper));
186 }
187
188 /**
189 * 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