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

Method closed

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

Returns a range that contains all values greater than or equal to 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

167 * @since 14.0
168 */
169 public static <C extends Comparable<?>> Range<C> closed(C lower, C upper) {
170 return create(Cut.belowValue(lower), Cut.aboveValue(upper));
171 }
172
173 /**
174 * Returns a range that contains all values greater than or equal to

Callers 3

intersectionMethod · 0.95
singletonMethod · 0.95
encloseAllMethod · 0.95

Calls 3

createMethod · 0.95
belowValueMethod · 0.95
aboveValueMethod · 0.95

Tested by

no test coverage detected