public class DoubleMaxAggregatorFunction extends Object implements UnaryFunction<List<Double>,Double>
AbstractListBackedAggregator
which finds the maximum number in a list. It does this by traversing the list
(once) -- so the complexity of this will be O(n).public DoubleMaxAggregatorFunction()
public Double evaluate(List<Double> data)
evaluate in interface UnaryFunction<List<Double>,Double>data - List to traverse and find maxCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.