public final class IntegerSumAggregatorBinaryFunction extends Object implements BinaryFunction<Integer,Integer,Integer>
AbstractNoStoreAggregator which
sums up the 2 given numbers (hence the "Binary" in the name!). Counterpart of
IntegerSumAggregatorFunction.public IntegerSumAggregatorBinaryFunction()
public Integer evaluate(Integer left, Integer right)
evaluate in interface BinaryFunction<Integer,Integer,Integer>left - first number to add. 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.