Collection stream() and parallel()
Brian Goetz
brian.goetz at oracle.com
Mon Dec 10 13:41:14 PST 2012
This is under discussion in the EG now.
On 12/10/2012 4:09 PM, Paul Benedict wrote:
> I was surprised to see both these methods return Streams with such
> wildly different method names. After seeing stream(), I was not
> expecting another method to return streams -- it seemed like the
> former was the "de facto" way of getting one.
>
> Would you consider perhaps renaming them? Something akin to
> serialStream() and parallelStream()? Or streamSerially() and
> streamParallely()?
>
> Paul
>
More information about the lambda-dev
mailing list