Package io.ebean.meta
Class SortMetric.Count
- java.lang.Object
-
- io.ebean.meta.SortMetric.Count
-
- All Implemented Interfaces:
Comparator<MetaTimedMetric>
- Enclosing class:
- SortMetric
public static class SortMetric.Count extends Object implements Comparator<MetaTimedMetric>
Sort by count desc.
-
-
Constructor Summary
Constructors Constructor Description Count()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(MetaTimedMetric o1, MetaTimedMetric o2)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
Count
public Count()
-
-
Method Detail
-
compare
public int compare(MetaTimedMetric o1, MetaTimedMetric o2)
- Specified by:
compare
in interfaceComparator<MetaTimedMetric>
-
-