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

Method tooLow

output/java_guava/1.4.18/GeneralRange.java:150–157  ·  view source on GitHub ↗
(@Nullable T t)

Source from the content-addressed store, hash-verified

148 }
149
150 boolean tooLow(@Nullable T t) {
151 if (!hasLowerBound()) {
152 return false;
153 }
154 T lbound = getLowerEndpoint();
155 int cmp = comparator.compare(t, lbound);
156 return cmp < 0 | (cmp == 0 & getLowerBoundType() == OPEN);
157 }
158
159 boolean tooHigh(@Nullable T t) {
160 if (!hasUpperBound()) {

Callers 3

isEmptyMethod · 0.95
containsMethod · 0.95
hasNextMethod · 0.45

Calls 4

hasLowerBoundMethod · 0.95
getLowerEndpointMethod · 0.95
getLowerBoundTypeMethod · 0.95
compareMethod · 0.45

Tested by

no test coverage detected