Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/util/aggregator/ComparableMax.hpp>
Inherits AbstractComparableAggregator.
Calculates a maximum among values extracted from a set of entries in a Map.
This aggregator is most commonly used with objects that implement Comparable such as String; a Comparator can also be supplied to perform the comparisons.
Public Types |
|||||||
| typedef spec::Handle | Handle | ||||||
| ComparableMax Handle definition. | |||||||
| typedef spec::View | View | ||||||
| ComparableMax View definition. | |||||||
| typedef spec::Holder | Holder | ||||||
| ComparableMax Holder definition. | |||||||
Protected Member Functions |
|||||||
| ComparableMax () | |||||||
| Default constructor (necessary for the PortableObject interface). | |||||||
| ComparableMax (ValueExtractor::View vExtractor, Comparator::View vComparator=NULL) | |||||||
| Construct a ComparableMax aggregator. | |||||||
| virtual void | process (Object::View v, bool fFinal) | ||||||
| Incorporate one aggregatable value into the result.
If the
|
|||||||
| ComparableMax | ( | ValueExtractor::View | vExtractor, | |
| Comparator::View | vComparator = NULL |
|||
| ) | [protected] |
Construct a ComparableMax aggregator.
| vExtractor | the extractor that provides an object to be compared | |
| vComparator | the comparator used to compare the extracted object, if NULL then the extracted object must implement Comparable |
The documentation for this class was generated from the following file: