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

Method compare

output/java_guava/1.4.18/ComparisonChain.java:78–83  ·  view source on GitHub ↗
(
                                                    Comparable left, Comparable right)

Source from the content-addressed store, hash-verified

76
77 private static final ComparisonChain ACTIVE = new ComparisonChain() {
78 @SuppressWarnings("unchecked")
79 @Override
80 public ComparisonChain compare(
81 Comparable left, Comparable right) {
82 return classify(left.compareTo(right));
83 }
84
85 @Override
86 public <T> ComparisonChain compare(@Nullable T left, @Nullable T right, Comparator<T> comparator) {

Callers

nothing calls this directly

Calls 5

classifyMethod · 0.95
compareMethod · 0.95
compareMethod · 0.95
compareFalseFirstMethod · 0.95
compareToMethod · 0.45

Tested by

no test coverage detected