Package com.tangosol.util.comparator
Interface EntryAwareComparator<T>
-
- All Superinterfaces:
Comparator<T>
- All Known Implementing Classes:
ChainedComparator
,EntryComparator
,InverseComparator
,SafeComparator
public interface EntryAwareComparator<T> extends Comparator<T>
EntryAwareComparator is an extension to theComparator
interface that allows theEntryComparator
to know whether the underlying comparator expects to compare the corresponding Entries' keys or values.- Author:
- gg 2007.05.05
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isKeyComparator()
Specifies whether this comparator expects to compare keys or values.-
Methods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-