|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.util.BitHelper
com.tangosol.util.ExternalizableHelper
com.tangosol.util.aggregator.AbstractAggregator
com.tangosol.util.aggregator.AbstractComparableAggregator
com.tangosol.util.aggregator.ComparableMin
public class ComparableMin
Calculates a minimum 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 or
Date; a Comparator can also be supplied to
perform the comparisons.
| Field Summary |
|---|
| Fields inherited from class com.tangosol.util.aggregator.AbstractComparableAggregator |
|---|
m_comparator, m_count, m_oResult |
| Fields inherited from class com.tangosol.util.aggregator.AbstractAggregator |
|---|
m_fParallel |
| Constructor Summary | |
|---|---|
ComparableMin()
Default constructor (necessary for the ExternalizableLite interface). |
|
ComparableMin(java.lang.String sMethod)
Construct a ComparableMin aggregator. |
|
ComparableMin(ValueExtractor extractor)
Construct a ComparableMin aggregator. |
|
ComparableMin(ValueExtractor extractor,
java.util.Comparator comparator)
Construct a ComparableMin aggregator. |
|
| Method Summary | |
|---|---|
protected void |
process(java.lang.Object o,
boolean fFinal)
Incorporate one aggregatable value into the result. |
| Methods inherited from class com.tangosol.util.aggregator.AbstractComparableAggregator |
|---|
finalizeResult, init, readExternal, readExternal, writeExternal, writeExternal |
| Methods inherited from class com.tangosol.util.aggregator.AbstractAggregator |
|---|
aggregate, aggregateResults, equals, getParallelAggregator, getValueExtractor, hashCode, toString |
| Methods inherited from class com.tangosol.util.BitHelper |
|---|
countBits, countBits, countBits, indexOfLSB, indexOfLSB, indexOfLSB, indexOfMSB, indexOfMSB, indexOfMSB, rotateLeft, rotateLeft, rotateLeft, rotateRight, rotateRight, rotateRight, toBitString, toBitString, toBitString |
| Constructor Detail |
|---|
public ComparableMin()
public ComparableMin(ValueExtractor extractor)
extractor - the extractor that provides a value in the form of
any object that implements Comparable
interface
public ComparableMin(ValueExtractor extractor,
java.util.Comparator comparator)
extractor - the extractor that provides an object to be comparedcomparator - the comparator used to compare the extracted objectpublic ComparableMin(java.lang.String sMethod)
sMethod - the name of the method that returns a value in the form
of any object that implements Comparable
interface| Method Detail |
|---|
protected void process(java.lang.Object o,
boolean fFinal)
InvocableMap.Entry.
process in class AbstractAggregatoro - the value to incorporate into the aggregated resultfFinal - true to indicate that the given object is a partial
result returned by a parallel aggregator
|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||