public class IntegerMaxAggregatorBinaryFunction extends Object implements BinaryFunction<Integer,Integer,Integer>
AbstractNoStoreAggregator
which
finds the maximum of 2 ints.public IntegerMaxAggregatorBinaryFunction()
public Integer evaluate(Integer left, Integer right)
evaluate
in interface BinaryFunction<Integer,Integer,Integer>
left
- first number to compare. If null
, then
right
will be returned.right
- second number to add. If null
, then
left
will be returned.Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.