|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
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.AbstractDoubleAggregator
com.tangosol.util.aggregator.DoubleMax
public class DoubleMax
Calculates a maximum of numeric values extracted from a set of entries in a Map. All the extracted Number objects will be treated as Java double values.
Field Summary |
---|
Fields inherited from class com.tangosol.util.aggregator.AbstractDoubleAggregator |
---|
m_count, m_dflResult |
Fields inherited from class com.tangosol.util.aggregator.AbstractAggregator |
---|
m_fParallel |
Constructor Summary | |
---|---|
DoubleMax()
Default constructor (necessary for the ExternalizableLite interface). |
|
DoubleMax(String sMethod)
Construct a DoubleMax aggregator. |
|
DoubleMax(ValueExtractor extractor)
Construct a DoubleMax aggregator. |
Method Summary | |
---|---|
protected void |
init(boolean fFinal)
Initialize the aggregation result. |
protected void |
process(Object o,
boolean fFinal)
Incorporate one aggregatable value into the result. |
Methods inherited from class com.tangosol.util.aggregator.AbstractDoubleAggregator |
---|
finalizeResult |
Methods inherited from class com.tangosol.util.aggregator.AbstractAggregator |
---|
aggregate, aggregateResults, equals, getParallelAggregator, getValueExtractor, hashCode, readExternal, readExternal, toString, writeExternal, writeExternal |
Methods inherited from class com.tangosol.util.BitHelper |
---|
countBits, countBits, countBits, indexOfLSB, indexOfLSB, indexOfLSB, indexOfMSB, indexOfMSB, indexOfMSB, toBitString, toBitString, toBitString |
Constructor Detail |
---|
public DoubleMax()
public DoubleMax(ValueExtractor extractor)
extractor
- the extractor that provides a value in the form of
any Java object that is a Number
public DoubleMax(String sMethod)
sMethod
- the name of the method that returns a value in the form
of any Java object that is a Number
Method Detail |
---|
protected void init(boolean fFinal)
init
in class AbstractDoubleAggregator
fFinal
- true is passed if the aggregation process that is being
initialized must produce a final aggregation result;
this will only be false if a parallel approach is being
used and the initial (partial) aggregation process is
being initializedprotected void process(Object o, boolean fFinal)
InvocableMap.Entry
.
process
in class AbstractAggregator
o
- the value to incorporate into the aggregated resultfFinal
- true to indicate that the given object is a partial
result returned by a parallel aggregator
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |