"Cancelable" streams

Remi Forax forax at univ-mlv.fr
Sat Dec 8 15:53:00 PST 2012


On 12/08/2012 11:34 PM, Brian Goetz wrote:
>> And why this has to be included in the jdk ?
>> It seems to be a great use case to see if there is enough entrypoints in
>> the jdk to implement that semantics externally.
>
> A nice idea, but we've already made the decision that we're not ready 
> to publish the StreamOP APIs (the "SPI"), and therefore people will 
> not be able to write their own ops.

You don't need to write ops to create a Stream, especially if what you 
want is only a parallel stream.

Rémi



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