public Integer evaluate()

in core/src/main/java/org/apache/commons/functor/aggregator/functions/IntegerMaxAggregatorFunction.java [39:54]


    public Integer evaluate(List<Integer> data) {
        if (data == null || data.size() == 0) {
            return null;
        }
        Integer max = null;
        for (Integer d : data) {
            if (max == null) {
                max = d;
            } else {
                if (max.intValue() < d.intValue()) {
                    max = d;
                }
            }
        }
        return max;
    }