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

Method upTo

output/java_guava/1.4.18/GeneralRange.java:80–82  ·  view source on GitHub ↗

Returns everything below the endpoint relative to the specified comparator, with the specified endpoint behavior.

(Comparator<? super T> comparator, @Nullable T endpoint, BoundType boundType)

Source from the content-addressed store, hash-verified

78 */
79
80 static <T> GeneralRange<T> upTo(Comparator<? super T> comparator, @Nullable T endpoint, BoundType boundType) {
81 return new GeneralRange<T>(comparator, false, null, OPEN, true, endpoint, boundType);
82 }
83
84 /**
85 * Returns everything between the endpoints relative to the specified comparator, with the

Callers 1

headMultisetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected