RFR 8019395 Consolidate StreamSupport.{stream, parallelStream} into a single method
Paul Sandoz
paul.sandoz at oracle.com
Mon Jul 8 17:11:19 UTC 2013
I updated the patch and fixed JavaDoc issues to StreamSupport based on feedback from Henry.
Changes can be seen here:
http://hg.openjdk.java.net/lambda/lambda/jdk/rev/be7d33d54613
Paul.
On Jul 8, 2013, at 5:22 PM, Paul Sandoz <Paul.Sandoz at oracle.com> wrote:
> Hi,
>
> This patch reduced the methods on j.u.stream.StreamSupport from 16 to 8:
>
> http://cr.openjdk.java.net/~psandoz/tl/JDK-8019395-StreamSupport/webrev/
>
> Instead of methods stream/parallelStream, and inStream/intParallelStream etc, there is just stream, and intStream etc, that take a boolean value controlling whether the stream is parallel or sequential.
>
> There are lots of small changes to source due to the refactoring (most which was done automatically).
>
> Paul.
More information about the core-libs-dev
mailing list