public static final class PiEstimation.SumReducer extends Object implements ReduceFunction<Long>
|Constructor and Description|
|Modifier and Type||Method and Description|
The core method of ReduceFunction, combining two values into one value of the same type.
public Long reduce(Long value1, Long value2)
value1- The first value to combine.
value2- The second value to combine.
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.