Concatenate<T> extension
Utilities to append or prepend to a stream.
- on
-
- Stream<
T>
- Stream<
Methods
-
followedBy(
Stream< T> next) → Stream<T> -
Emits all values and errors from
next
following all values and errors from this stream. -
startWith(
T initial) → Stream< T> -
Emits
initial
before any values or errors from the this stream. -
startWithMany(
Iterable< T> initial) → Stream<T> -
Emits all values in
initial
before any values or errors from this stream. -
startWithStream(
Stream< T> initial) → Stream<T> -
Emits all values and errors in
initial
before any values or errors from this stream.