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

Method compare

output/java_guava/1.4.18/Multisets.java:1139–1142  ·  view source on GitHub ↗
(Entry<?> entry1, Entry<?> entry2)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

compareMethod · 0.95
getCountMethod · 0.65

Tested by

no test coverage detected