RFR 8019395 Consolidate StreamSupport.{stream, parallelStream} into a single method

Paul Sandoz paul.sandoz at oracle.com
Mon Jul 8 15:22:39 UTC 2013


This patch reduced the methods on j.u.stream.StreamSupport from 16 to 8:


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).


More information about the core-libs-dev mailing list