WhereNotNullExtension<T extends Object> extension Null safety

Extends the Stream class with the ability to convert the source Stream to a Stream which emits all the non-null elements of this Stream, in their original emission order.

on

Methods

whereNotNull() Stream<T>
Returns a Stream which emits all the non-null elements of this Stream, in their original emission order.