RFR: JDK-8012542 (Stream methods on Collection)

Arne Siegel v.a.ammodytes at googlemail.com
Fri Apr 19 11:26:33 PDT 2013


Hi Brian,

things moving fast lately, the illustrative code in spliterator(),

     * <pre>{@code
     *     Stream<E> s = Streams.stream(() -> spliterator(), spliteratorCharacteristics)
     * }</pre>

has gotten out of sync and should be

     * <pre>{@code
     *     Stream<E> s = StreamSupport.stream(() -> spliterator(), 
spliteratorCharacteristics)
     * }</pre>

Regards
Arne Siegel


On 17 Apr 2013 at 18:38, Brian Goetz wrote:

> Updated spec for Collection.spliterator; default methods for 
> Collection.stream() and parallelStream().  Specialized implementations 
> in subtypes will come in a separate putback.
> 
> Webrev at:
> 
>    http://cr.openjdk.java.net/~briangoetz/JDK-8012542/webrev/
> 
> 
> 




More information about the lambda-dev mailing list