Package org.apache.jackrabbit.stats
Class QueryStatDtoOccurrenceComparator
- java.lang.Object
-
- org.apache.jackrabbit.stats.QueryStatDtoOccurrenceComparator
-
- All Implemented Interfaces:
Comparator<QueryStatDtoImpl>
public class QueryStatDtoOccurrenceComparator extends Object implements Comparator<QueryStatDtoImpl>
QueryStatDto comparator by occurrence count used by the popular queries queue
-
-
Constructor Summary
Constructors Constructor Description QueryStatDtoOccurrenceComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(QueryStatDtoImpl o1, QueryStatDtoImpl o2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(QueryStatDtoImpl o1, QueryStatDtoImpl o2)
- Specified by:
compare
in interfaceComparator<QueryStatDtoImpl>
-
-