Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47891-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, 2014, Oracle and/or its affiliates. All rights reserved.