DefaultIfEmptyExtension<T> extension

on
  • Stream<T>

Methods

defaultIfEmpty(T defaultValue) → Stream<T>
Emit items from the source Stream, or a single default item if the source Stream emits nothing. [...]