FlatMapStreamExtension<E> extension

on

Methods

asyncFlatMap<T>(Stream<T> callback(E element)) Stream<T>

Available on Stream<E>, provided by the FlatMapStreamExtension extension

Maps each element of this Stream using a mapping function to a stream, then flattens the result into a continuous stream.
flatMap<T>(Iterable<T> callback(E element)) Stream<T>

Available on Stream<E>, provided by the FlatMapStreamExtension extension

Maps each element of this Stream using a mapping function to zero or more elements, then flattens the result into a continuous stream.