public final class IntegerMeanValueAggregatorFunction extends Object implements UnaryFunction<List<Integer>,Integer>
AbstractListBackedAggregator
which computes the arithmetic mean of all the numbers in the list.| Constructor and Description |
|---|
IntegerMeanValueAggregatorFunction() |
public IntegerMeanValueAggregatorFunction()
public Integer evaluate(List<Integer> data)
evaluate in interface UnaryFunction<List<Integer>,Integer>data - List to traverse and sumCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.