Returns a stream consisting of the results of replacing each value of this stream with the contents produced by applying the provided mapping function to each value. This has the effect of applying a one-to-many transformation to the values of the stream, and then flattening the resulting elements i
(FlatMapFunction<? super T, ? extends R> function)
| 117 | * @return the new stream |
| 118 | */ |
| 119 | public <R> Stream<R> flatMap(FlatMapFunction<? super T, ? extends R> function) { |
| 120 | return new Stream<>(streamBuilder, addProcessorNode(new FlatMapProcessor<>(function), VALUE)); |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * Returns a stream consisting of the results of replacing each value of this stream with the key-value pairs produced by applying the |
nothing calls this directly
no test coverage detected