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

Method canonical

corpus/java/training/guava/collect/Cut.java:440–444  ·  view source on GitHub ↗
(DiscreteDomain<C> domain)

Source from the content-addressed store, hash-verified

438 }
439
440 @Override
441 Cut<C> canonical(DiscreteDomain<C> domain) {
442 C next = leastValueAbove(domain);
443 return (next != null) ? belowValue(next) : Cut.<C>aboveAll();
444 }
445
446 @Override
447 public int hashCode() {

Callers

nothing calls this directly

Calls 3

leastValueAboveMethod · 0.95
aboveAllMethod · 0.95
belowValueMethod · 0.45

Tested by

no test coverage detected