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

Method canonical

output/java_guava/1.4.18/Cut.java:445–449  ·  view source on GitHub ↗
(DiscreteDomain<C> domain)

Source from the content-addressed store, hash-verified

443 }
444
445 @Override
446 Cut<C> canonical(DiscreteDomain<C> domain) {
447 C next = leastValueAbove(domain);
448 return (next != null) ? belowValue(next) : Cut.<C>aboveAll();
449 }
450
451 @Override
452 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