public interface QueryMapComparator<T> extends Comparator<T>
QueryMap.Entry interface.| Modifier and Type | Method and Description | 
|---|---|
int | 
compareEntries(QueryMap.Entry<?,T> entry1,
              QueryMap.Entry<?,T> entry2)
Compare two entries based on the rules specified by  
Comparator. | 
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongint compareEntries(QueryMap.Entry<?,T> entry1, QueryMap.Entry<?,T> entry2)
Comparator.
 
 If possible, use the extract method to optimize the value extraction process.
 
 This method is expected to be implemented by Comparator wrappers,
 such as ChainedComparator and InverseComparator,
 which simply pass on this invocation to the wrapped Comparator objects
 if they too implement this interface, or to invoke their default
 compare method passing the actual objects (not the extracted values)
 obtained from the extractor using the passed entries.
 
This interface is also expected to be implemented by ValueExtractor implementations that implement the Comparator interface. It is expected that in most cases, the Comparator wrappers will eventually terminate at (i.e. delegate to) ValueExtractors that also implement this interface.
entry1 - the first entry to compare values from; read-onlyentry2 - the second entry to compare values from; read-onlyClassCastException - if the arguments' types prevent them from
               being compared by this Comparator.WrapperException - if the extractor encounters
         an exception in the course of extracting the valueIllegalArgumentException - if the extractor cannot handle
         the passed objects for any other reason; an implementor should
         include a descriptive message