DefaultIfEmptyStreamTransformer<S> constructor
DefaultIfEmptyStreamTransformer<S> (
- S defaultValue
Constructs a StreamTransformer which either emits from the source Stream,
or just a defaultValue
if the source Stream emits nothing.
Implementation
DefaultIfEmptyStreamTransformer(this.defaultValue);