Refactoring for DRY

Barry Burd bburd at
Tue Apr 9 15:51:02 PDT 2013

Thank you. Brian. Is there any reason not to use parallelStream here (other than that the example is too small to warrant parallelism)? I assume that a function like sum() doesn't do it's thing until all the various parallel values have arrived.
>>> On 4/9/2013 at 5:01 PM, in message <516481A2.8000702 at>, Brian Goetz <brian.goetz at> wrote:

The recommendation is to format chains like:
... Etc.

More information about the lambda-dev mailing list