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

Method closed

output/java_guava/1.4.17/Range.java:170–172  ·  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

168
169
170 public static <C extends Comparable<?>> Range<C> closed(C lower, C upper) {
171 return create(Cut.belowValue(lower), Cut.aboveValue(upper));
172 }
173
174 /**
175 * 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