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

Method openClosed

output/java_guava/1.4.17/Range.java:198–200  ·  view source on GitHub ↗

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

(C lower, C upper)

Source from the content-addressed store, hash-verified

196
197
198 public static <C extends Comparable<?>> Range<C> openClosed(C lower, C upper) {
199 return create(Cut.aboveValue(lower), Cut.aboveValue(upper));
200 }
201
202 /**
203 * Returns a range that contains any value from {@code lower} to {@code

Callers

nothing calls this directly

Calls 2

createMethod · 0.95
aboveValueMethod · 0.95

Tested by

no test coverage detected