|
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.AbstractLongAggregator
com.tangosol.util.aggregator.LongMin
public class LongMin
Calculates a minimum of numeric values extracted from a set of entries in a Map. All the extracted Number objects will be treated as Java long values.
| Field Summary |
|---|
| Fields inherited from class com.tangosol.util.aggregator.AbstractLongAggregator |
|---|
m_count, m_lResult |
| Fields inherited from class com.tangosol.util.aggregator.AbstractAggregator |
|---|
m_fParallel |
| Constructor Summary | |
|---|---|
LongMin()
Default constructor (necessary for the ExternalizableLite interface). |
|
LongMin(String sMethod)
Construct a LongMin aggregator. |
|
LongMin(ValueExtractor extractor)
Construct a LongMin 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.AbstractLongAggregator |
|---|
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 LongMin()
public LongMin(ValueExtractor extractor)
extractor - the extractor that provides a value in the form of
any Java object that is a Numberpublic LongMin(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 AbstractLongAggregatorfFinal - 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 initialized
protected void process(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
|
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 | |||||||