References to non-existing methods in java.util.stream comments
Tagir F. Valeev
amaembo at gmail.com
Tue Jul 28 08:48:18 UTC 2015
Although it's not the part of public API, there are references to
non-existing methods in SliceOps.java and Streams.java:
// @@@ OOMEs will occur for LongStream.longs().filter(i -> true).limit(n)
* <p>This is optimized for cases such as LongStream.longs() that is ...
There's no method like LongStream.longs().
* <p>This is optimized for cases such as IntStream.ints() that is ...
There's no method like IntStream.ints().
Probably these comments should be changed to avoid confusion.
With best regards,
More information about the core-libs-dev