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

Method openClosed

corpus/java/training/guava/collect/Range.java:193–195  ·  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

191 * @since 14.0
192 */
193 public static <C extends Comparable<?>> Range<C> openClosed(C lower, C upper) {
194 return create(Cut.aboveValue(lower), Cut.aboveValue(upper));
195 }
196
197 /**
198 * 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