Iterable/Iterator.stream()

Remi Forax forax at univ-mlv.fr
Sun Mar 24 16:34:47 PDT 2013


On 03/25/2013 12:04 AM, Brian Goetz wrote:
>> Given that writing a Spliterator is easier than writing an Iterator,
>> I would prefer to just write a Spliterator instead of an Iterator (Iterator is so 90s :)
> You're missing the point, though.  There are zillions of classes out there that *already* hand you an Iterator.  And many of them are not spliterator-ready.
>

yes, yes,
but for Sam or Ben Evans (on lambda-dev), there were no Iterator 
available but they end up to write a new one.

Rémi



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