Dividing Streams.java
Joe Bowbeer
joe.bowbeer at gmail.com
Thu Apr 11 16:01:44 PDT 2013
But I am (and represent) Joe Programmer, and I've already complained :O
At the top of the list is the confusing name doubleParallelStream, which
does not create two parallel streams!
It's very difficult to find anything useful in there, and the ones that
take Spliterator arguments are a devil to figure out how to use, which adds
to Joe's frustration.
Simply removing everything that references a spliterator thing cleans it up
a lot.
On Thu, Apr 11, 2013 at 3:49 PM, Doug Lea <dl at cs.oswego.edu> wrote:
> On 04/11/13 13:51, Brian Goetz wrote:
>
>> Joe quite correctly pointed out in the survey that Streams.java is a mix
>> of two
>> things for two audiences:
>>
>> - Utility methods for users to generate streams, like intRange()
>> - Low level methods for library writers to generate streams from things
>> like
>> iterators or spliterators.
>>
>>
> I'm not too tempted by this. Classes Collections and Arrays have lots
> of stuff and people don't seem to complain.
>
> -Doug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20130411/55499bfb/attachment.html
More information about the lambda-libs-spec-experts
mailing list