diff --git a/src/java.base/share/classes/java/util/stream/Stream.java b/src/java.base/share/classes/java/util/stream/Stream.java index 9badd4133f1..4b1289470f1 100644 --- a/src/java.base/share/classes/java/util/stream/Stream.java +++ b/src/java.base/share/classes/java/util/stream/Stream.java @@ -276,7 +276,7 @@ public interface Stream extends BaseStream> { * function to apply to each element which produces a stream * of new values * @return the new stream - * @see #mapMulti + * @see #mapMulti mapMulti */ Stream flatMap(Function> mapper); @@ -296,7 +296,7 @@ public interface Stream extends BaseStream> { * function to apply to each element which produces a stream * of new values * @return the new stream - * @see #flatMap(Function) + * @see #flatMap flatMap */ IntStream flatMapToInt(Function mapper); @@ -316,7 +316,7 @@ public interface Stream extends BaseStream> { * function to apply to each element which produces a stream * of new values * @return the new stream - * @see #flatMap(Function) + * @see #flatMap flatMap */ LongStream flatMapToLong(Function mapper); @@ -336,7 +336,7 @@ public interface Stream extends BaseStream> { * function to apply to each element which produces a stream * of new values * @return the new stream - * @see #flatMap(Function) + * @see #flatMap flatMap */ DoubleStream flatMapToDouble(Function mapper);