Dividing Streams.java
Brian Goetz
brian.goetz at oracle.com
Thu Apr 11 15:20:11 PDT 2013
StreamImplementors ?
StreamViews ?
SpliteratorToStream ?
On 4/11/2013 6:05 PM, Joe Bowbeer wrote:
> 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
> <mailto:tim at peierls.net>> wrote:
>
> On Thu, Apr 11, 2013 at 1:51 PM, Brian Goetz <brian.goetz at oracle.com
> <mailto: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
>
>
More information about the lambda-libs-spec-observers
mailing list