RFR : 8025910 : (s) Rename Stream.substream(long) -> skip(long) and remove substream(long, long)
Paul Sandoz
paul.sandoz at oracle.com
Wed Oct 16 09:36:40 UTC 2013
Looks good with Henry's correction (that i missed the first time around!).
Paul.
On Oct 15, 2013, at 10:18 PM, Mike Duigou <mike.duigou at oracle.com> wrote:
> Hello all;
>
> As promised on the lambda-libs-spec-experts mailing list I have prepared a changeset which renames the single arg substream() to skip() and remove the two arg substream() method (aka "slice").
>
> The rationale behind these changes is:
>
> - skip() is easier for new users to locate than substream().
> - substream(long,long) has ambiguous semantics and duplicates skip().limit()
>
> http://cr.openjdk.java.net/~mduigou/JDK-8025910/1/webrev/
> http://cr.openjdk.java.net/~mduigou/JDK-8025910/1/specidff/overview-summary.html
>
> Cheers,
>
> Mike
More information about the core-libs-dev
mailing list