Dividing Streams.java

Joe Bowbeer joe.bowbeer at gmail.com
Thu Apr 11 15:05:49 PDT 2013


I would hide everything that mentions Spliterator (or descendant) in its
signature.

I would not hide infinite stream toys such as iterate or generate.  These
are easy to understand and use, even if they have limited use -- which is
not the case with doubleParallelStream and friends.


On Thu, Apr 11, 2013 at 11:08 AM, Tim Peierls <tim at peierls.net> wrote:

> On Thu, Apr 11, 2013 at 1:51 PM, Brian Goetz <brian.goetz at oracle.com>wrote:
>
>> I think the high-level stuff should stay in Streams.  So we need a name
>> for the low-level stuff.  (Which also then becomes the right home for "how
>> do I turn my data sturcture into a stream" doc.)
>>
>> What should we call that?
>>
>
> Streams.Internal
>
> Never mind that they aren't really internal. It needs to sound like you're
> breaking the manufacturer's seal if you use it.
>
> And having it nested means it's not too far away, but not in your face if
> you're looking at Streams.
>
> --tim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20130411/2f192a25/attachment.html 


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