Class DecimalMax
Calculates a maximum of numeric values extracted from a set of entries in a IDictionary in a form of a decimal value.
Inherited Members
Namespace: Tangosol.Util.Aggregator
Assembly: Coherence.dll
Syntax
public class DecimalMax : AbstractDecimalAggregator, IParallelAwareAggregator, IEntryAggregator, IPortableObject
Remarks
All the extracted objects will be treated as Decimal values.
If the set of entries is empty, a null
result is returned.
Constructors
DecimalMax()
Default constructor.
Declaration
public DecimalMax()
DecimalMax(string)
Construct a DecimalMax aggregator.
Declaration
public DecimalMax(string member)
Parameters
Type | Name | Description |
---|---|---|
string | member | The name of the member that returns a value in the form of any .NET object that is Decimal. |
DecimalMax(IValueExtractor)
Construct a DecimalMax aggregator.
Declaration
public DecimalMax(IValueExtractor extractor)
Parameters
Type | Name | Description |
---|---|---|
IValueExtractor | extractor | The extractor that provides a value in the form of any .NET object that is Decimal. |
Methods
Process(object, bool)
Incorporate one aggregatable value into the result.
Declaration
protected override void Process(object o, bool isFinal)
Parameters
Type | Name | Description |
---|---|---|
object | o | The value to incorporate into the aggregated result. |
bool | isFinal | true to indicate that the given object is a partial result returned by a parallel aggregator. |
Overrides
Remarks
If the isFinal
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
IInvocableCacheEntry.