public Pair<Long, Long> reduce(Pair<Long, Long> value, Pair<Long, Long> sum) { sum.set(sum.getFirst() + value.getFirst(), sum.getSecond() + value.getSecond()); return sum; }
public Pair<Long, Long> reduce(Pair<Long, Long> value, Pair<Long, Long> sum) { sum.set(sum.getFirst() + value.getFirst(), sum.getSecond() + value.getSecond()); return sum; }