Overview | Package | Class | Tree | Index | Help

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

## com.tangosol.util.aggregator
Class DoubleMin

    java.lang.Object
      com.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.DoubleMin

All Implemented Interfaces:
  ExternalizableLite, PortableObject, InvocableMap.EntryAggregator, InvocableMap.ParallelAwareAggregator, java.io.Serializable

    public class DoubleMin

extends AbstractDoubleAggregator

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 `double` values.

Since:
  Coherence 3.1
Author:
  gg 2005.09.05

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
`DoubleMin()` Default constructor (necessary for the ExternalizableLite interface).
`DoubleMin(java.lang.String sMethod)` Construct a DoubleMin aggregator.
`DoubleMin(ValueExtractor extractor)` Construct a DoubleMin aggregator.

Method Summary
`protected void` | `init(boolean fFinal)` Initialize the aggregation result.
`protected void` | `process(java.lang.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, rotateLeft, rotateLeft, rotateLeft, rotateRight, rotateRight, rotateRight, toBitString, toBitString, toBitString`

Constructor Detail

### DoubleMin

    public DoubleMin()

  Default constructor (necessary for the ExternalizableLite interface).

### DoubleMin

    public DoubleMin(ValueExtractor extractor)

  Construct a DoubleMin aggregator.

  Parameters:
    `extractor` - the extractor that provides a value in the form of any Java object that is a `Number`

### DoubleMin

    public DoubleMin(java.lang.String sMethod)

  Construct a DoubleMin aggregator.

  Parameters:
    `sMethod` - the name of the method that returns a value in the form of any Java object that is a `Number`

Method Detail

### init

    protected void init(boolean fFinal)

  Initialize the aggregation result.

  Overrides:
    `init` in class `AbstractDoubleAggregator`
  Parameters:
    `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 initialized

### process

    protected void process(java.lang.Object o,
                           boolean fFinal)

  Incorporate one aggregatable value into the result.

  If the `fFinal` parameter is true, the given object is a partial result (returned by an individual parallel aggregator) that should be incorporated into the final result; otherwise, the object is a value extracted from an `InvocableMap.Entry`.

  Specified by:
    `process` in class `AbstractAggregator`
  Parameters:
    `o` - the value to incorporate into the aggregated result
    `fFinal` - true to indicate that the given object is a partial result returned by a parallel aggregator

Overview | Package | Class | Tree | Index | Help

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

Copyright © 2000, 2010, Oracle. All rights reserved.