public static <ElementType> Ordering<Multiset.Entry<ElementType>> byCountOrdering() {
    return Ordering.natural().onResultOf(MultisetUtils.<ElementType>toCountFunction());
  }
public static < ElementType > Ordering < Multiset . Entry < ElementType > > byCountOrdering ( ) { return Ordering . natural ( ) . onResultOf ( MultisetUtils . < ElementType > toCountFunction ( ) ) ; }
Returns a partial {@link Ordering} over {@link Multiset.Entry}s by their count.