Oracle® Coherence Java API Reference
v3.5

E14977-01

com.tangosol.util.comparator
Interface EntryAwareComparator

All Superinterfaces:
java.util.Comparator
All Known Implementing Classes:
ChainedComparator, EntryComparator, InverseComparator, SafeComparator

public interface EntryAwareComparator
extends java.util.Comparator

EntryAwareComparator is an extension to the Comparator interface that allows the EntryComparator to know whether the underlying comparator expects to compare the corresponding Entries' keys or values.

Author:
gg 2007.05.05

Method Summary
 boolean isKeyComparator()
          Specifies whether this comparator expects to compare keys or values.
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

isKeyComparator

boolean isKeyComparator()
Specifies whether this comparator expects to compare keys or values.

Returns:
true if Entry keys are expected; false otherwise

Oracle® Coherence Java API Reference
v3.5

E14977-01

Copyright © 2000, 2009, Oracle. All rights reserved.