Class JdkComparatorWrapper

    • Constructor Summary

      Constructors 
      Constructor Description
      JdkComparatorWrapper​(java.util.Comparator comparator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.lang.Object first, java.lang.Object second)
      Implement to compare two arguments for sorting.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JdkComparatorWrapper

        public JdkComparatorWrapper​(java.util.Comparator comparator)
    • Method Detail

      • compare

        public int compare​(java.lang.Object first,
                           java.lang.Object second)
        Description copied from interface: QueryComparator
        Implement to compare two arguments for sorting. Return a negative value, zero, or a positive value if the first argument is smaller, equal or greater than the second.
        Specified by:
        compare in interface QueryComparator