com.tangosol.util.aggregator.AbstractDoubleAggregator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coherence Show documentation
Show all versions of coherence Show documentation
Oracle Coherence Community Edition
/*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
package com.tangosol.util.aggregator;
import com.tangosol.util.ValueExtractor;
/**
* Abstract aggregator that processes numeric values extracted from a set of
* entries in a Map. All the extracted Number objects will be treated as Java
* double values and the result of the aggregator is a Double.
* If the set of entries is empty, a null result is returned.
*
* @param the type of the value to extract from
*
* @author cp/gg/jh 2005.07.19
* @since Coherence 3.1
*/
public abstract class AbstractDoubleAggregator
extends AbstractAggregator