コード例 #1
0
 public CountedData reduce(final CountedData mapValue, final CountedData reduceSum) {
   reduceSum.add(mapValue);
   return reduceSum;
 }
コード例 #2
0
 public CountedData treeReduce(final CountedData sum1, final CountedData sum2) {
   sum2.add(sum1);
   return sum2;
 }