Collection stream() and parallel()
Paul Benedict
pbenedict at apache.org
Mon Dec 10 13:09:52 PST 2012
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