MapNotNullExtension<T> extension
Extends the Stream class with the ability to convert the source Stream
to a Stream containing only the non-null
results
of applying the given transform function to each element of this Stream.
- on
-
- Stream<
T>
- Stream<
Methods
-
mapNotNull<
R extends Object> (R? transform(T)) → Stream< R> -
Available on Stream<
Returns a Stream containing only the non-T> , provided by the MapNotNullExtension extensionnull
results of applying the giventransform
function to each element of this Stream.