public class MaxAggregator extends java.lang.Object implements AggregationFunction
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
MaxAggregator() |
| Modifier and Type | Method and Description |
|---|---|
double |
aggregate(java.util.List<java.lang.Double> elements)
Aggregates the elements to a single double.
|
java.lang.String |
toString() |
private static final long serialVersionUID
public double aggregate(java.util.List<java.lang.Double> elements)
AggregationFunctionaggregate in interface AggregationFunctionelements - a list of doublepublic java.lang.String toString()
toString in interface AggregationFunctiontoString in class java.lang.Object