Skip to content

Commit

Permalink
8271268: Fix Javadoc links for Stream.mapMulti
Browse files Browse the repository at this point in the history
Reviewed-by: liach, psandoz
  • Loading branch information
mabbay authored and Paul Sandoz committed Sep 25, 2023
1 parent 9688ec2 commit afa4833
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/java.base/share/classes/java/util/stream/Stream.java
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public interface Stream<T> extends BaseStream<T, Stream<T>> {
* function to apply to each element which produces a stream
* of new values
* @return the new stream
* @see #mapMulti
* @see #mapMulti mapMulti
*/
<R> Stream<R> flatMap(Function<? super T, ? extends Stream<? extends R>> mapper);

Expand All @@ -296,7 +296,7 @@ public interface Stream<T> extends BaseStream<T, Stream<T>> {
* 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<? super T, ? extends IntStream> mapper);

Expand All @@ -316,7 +316,7 @@ public interface Stream<T> extends BaseStream<T, Stream<T>> {
* 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<? super T, ? extends LongStream> mapper);

Expand All @@ -336,7 +336,7 @@ public interface Stream<T> extends BaseStream<T, Stream<T>> {
* 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<? super T, ? extends DoubleStream> mapper);

Expand Down

1 comment on commit afa4833

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.