Oracle Coherence for C++ API
Release 3.6.1.0

E18813-01

EntryAwareComparator Class Reference

#include <coherence/util/comparator/EntryAwareComparator.hpp>

Inherits Comparator.

Inherited by ChainedComparator [virtual], and SafeComparator [virtual].

List of all members.


Detailed Description

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:
djl 2008.05.05

Public Types

typedef spec::Handle  Handle
  EntryAwareComparator Handle definition.
typedef spec::View  View
  EntryAwareComparator View definition.
typedef spec::Holder  Holder
  EntryAwareComparator Holder definition.

Public Member Functions

virtual bool  isKeyComparator () const =0
  Specifies whether this comparator expects to compare keys or values.

Member Function Documentation

virtual bool isKeyComparator (  )  const [pure virtual]

Specifies whether this comparator expects to compare keys or values.

Returns:
true if Entry keys are expected; false otherwise

Implemented in ChainedComparator, and SafeComparator.


The documentation for this class was generated from the following file:
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.