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

Method atMost

output/java_guava/1.4.18/Range.java:241–243  ·  view source on GitHub ↗

Returns a range that contains all values less than or equal to endpoint. @since 14.0

(C endpoint)

Source from the content-addressed store, hash-verified

239
240
241 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) {
242 return create(Cut.<C>belowAll(), Cut.aboveValue(endpoint));
243 }
244
245 /**
246 * Returns a range with no lower bound up to the given endpoint, which may be

Callers 2

upToMethod · 0.95
createMethod · 0.95

Calls 3

createMethod · 0.95
belowAllMethod · 0.95
aboveValueMethod · 0.95

Tested by

no test coverage detected