Streamable

Doug Lea dl at cs.oswego.edu
Sat Dec 15 09:31:37 PST 2012


On 12/15/12 12:26, Brian Goetz wrote:
> I am considering dropping the Streamable interface.  Currently the only
> implementor is Collection, and all of the other stream-bearing methods are
> serving up specialized streams (chars(), codePoints(), lines(), etc) with a
> method name that is more suitable than "stream".  So I think we should drop
> Streamable and leave the stream() / parallel() methods on Collection (or
> possibly move them up Iterable).

Could care less :-)

>
> Also still leaning towards renaming parallel() to parallelStream().
>

Yes please!

-Doug



More information about the lambda-libs-spec-observers mailing list