RFR : 8025910 : (s) Rename Stream.substream(long) -> skip(long) and remove substream(long, long)
mike.duigou at oracle.com
Tue Oct 15 13:18:17 PDT 2013
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()
More information about the lambda-libs-spec-experts