public interface EntryAwareComparator<T> extends Comparator<T>
Comparator
interface that allows the EntryComparator
to know whether the
underlying comparator expects to compare the corresponding Entries' keys or
values.Modifier and Type | Method | Description |
---|---|---|
boolean |
isKeyComparator() |
Specifies whether this comparator expects to compare keys or values.
|
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong