MCPcopy
hub / github.com/google/guava / canonical

Method canonical

guava/src/com/google/common/collect/Cut.java:187–194  ·  view source on GitHub ↗
(DiscreteDomain<Comparable<?>> domain)

Source from the content-addressed store, hash-verified

185 }
186
187 @Override
188 Cut<Comparable<?>> canonical(DiscreteDomain<Comparable<?>> domain) {
189 try {
190 return Cut.belowValue(domain.minValue());
191 } catch (NoSuchElementException e) {
192 return this;
193 }
194 }
195
196 @Override
197 public int compareTo(Cut<Comparable<?>> o) {

Callers

nothing calls this directly

Calls 2

belowValueMethod · 0.95
minValueMethod · 0.45

Tested by

no test coverage detected