hg: lambda/lambda/jdk: spliterators know their size and the size is updated after splitting. this patch corrects the size returned by the StreamAccessor (and also simplifies construction)

mike.duigou at oracle.com mike.duigou at oracle.com
Wed Oct 24 12:26:35 PDT 2012


Changeset: 198fc90ec015
Author:    mduigou
Date:      2012-10-24 12:19 -0700
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/198fc90ec015

spliterators know their size and the size is updated after splitting. this patch corrects the size returned by the StreamAccessor (and also simplifies construction)

! src/share/classes/java/util/streams/Streamable.java
! src/share/classes/java/util/streams/Streams.java



More information about the lambda-dev mailing list