Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-01


com.tangosol.util.comparator
Interface EntryAwareComparator

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

public interface EntryAwareComparator
extends 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

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-01


Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.