Closed centralhardware closed 1 year ago
If you need to get an empty stream for null and a stream of one element for non-null input, use StreamEx.ofNullable.
StreamEx.ofNullable
If you need to get an empty stream for null and a stream of one element for non-null input, use
StreamEx.ofNullable
.