on-internet
← Community

Why is IntStream's overridden Iterator () method present in the source code but missing in Javadoc from Java 10 onwards?

Stack Overflow ·

java.util.stream.IntStream is documented in its original (Java 8) Javadocs to override the BaseStream.iterator() method with a version that returns PrimitiveIterator.OfInt. This override is also documented in the Java 9 Javadocs, but not in the Java 10 Javadocs and onward, through the present Java 27 Javadocs. Yet review of the source code for Java 10 through Java 27 shows that IntStream still contains this override, so why is it missing from the Javadocs? What specification / tooling / (bug ? ) change caused this?

Comments

Sign in or sign up to comment and upvote.

No comments yet.