public final class OperatorSwitchIfEmpty<T> extends Objectimplements Observable .Operator <T ,T>
rx.internal.operators.OperatorDefaultIfEmpty except instead of one item being emitted when empty, the results of the given Observable will be emitted.
| Constructor and Description |
|---|
OperatorSwitchIfEmpty(Observable
|
public OperatorSwitchIfEmpty(Observable<? extends T> alternate)
public Subscriber<? super T> call(Subscriber <? super T> child)