Interface QueryComparator<Target>

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    JdkComparatorWrapper

    public interface QueryComparator<Target>
    extends java.io.Serializable
    Comparator for sorting queries on JDKs where java.util.Comparator is not available.
    • Method Detail

      • compare

        int compare​(Target first,
                    Target second)
        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.