|
Oracle® Coherence Java API Reference v3.5.3 E15583-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.AbstractBigDecimalAggregator
com.tangosol.util.aggregator.BigDecimalMax
public class BigDecimalMax
Calculates a maximum of numeric values extracted from a set of entries in a
Map in a form of a BigDecimal value. All the extracted
objects will be treated as BigDecimal,
BigInteger or Java double values.
If the set of entries is empty, a null result is returned.
| Field Summary |
|---|
| Fields inherited from class com.tangosol.util.aggregator.AbstractBigDecimalAggregator |
|---|
m_count, m_decResult |
| Fields inherited from class com.tangosol.util.aggregator.AbstractAggregator |
|---|
m_fParallel |
| Constructor Summary | |
|---|---|
BigDecimalMax()
Default constructor (necessary for the ExternalizableLite interface). |
|
BigDecimalMax(java.lang.String sMethod)
Construct a BigDecimalMax aggregator. |
|
BigDecimalMax(ValueExtractor extractor)
Construct a BigDecimalMax 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.AbstractBigDecimalAggregator |
|---|
ensureBigDecimal, finalizeResult, init |
| 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, rotateLeft, rotateLeft, rotateLeft, rotateRight, rotateRight, rotateRight, toBitString, toBitString, toBitString |
| Constructor Detail |
|---|
public BigDecimalMax()
public BigDecimalMax(ValueExtractor extractor)
extractor - the extractor that provides a value in the form of
any Java object that is a Numberpublic BigDecimalMax(java.lang.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 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.3 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||