Returning the final result – Function<A, R> finisher();

The final result is computed in the finisher() method. In this case, we simply return Function.identity() since the accumulator doesn't require any further transformation:

@Override
public Function<Map<Boolean, List<Melon>>,
Map<Boolean, List<Melon>>> finisher() {

return Function.identity();
}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.133.160