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

Method compare

output/java_guava/1.4.19/Multisets.java:1138–1141  ·  view source on GitHub ↗
(Entry<?> entry1, Entry<?> entry2)

Source from the content-addressed store, hash-verified

1136
1137 private static final Ordering<Entry<?>> DECREASING_COUNT_ORDERING = new Ordering<Entry<?>>() {
1138 @Override
1139 public int compare(Entry<?> entry1, Entry<?> entry2) {
1140 return Ints.compare(entry2.getCount(), entry1.getCount());
1141 }
1142 };
1143
1144 /**

Callers

nothing calls this directly

Calls 2

compareMethod · 0.95
getCountMethod · 0.65

Tested by

no test coverage detected