Class QueryStatDtoOccurrenceComparator

  • All Implemented Interfaces:
    java.util.Comparator<QueryStatDtoImpl>

    public class QueryStatDtoOccurrenceComparator
    extends java.lang.Object
    implements java.util.Comparator<QueryStatDtoImpl>
    QueryStatDto comparator by occurrence count used by the popular queries queue
    • 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

        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

      • QueryStatDtoOccurrenceComparator

        public QueryStatDtoOccurrenceComparator()