Top Description Fields Constructors Methods
io.reactivex.rxjava3.internal.operators.observable

public final Class ObservableLift<R, T>

extends AbstractObservableWithUpstream<T, R>
Class Inheritance
Type Parameters
<R>
the downstream parameter type
<T>
the upstream value type
Imports
io.reactivex.rxjava3.core.*, io.reactivex.rxjava3.exceptions.Exceptions, io.reactivex.rxjava3.plugins.RxJavaPlugins, java.util.Objects

Allows lifting operators into a chain of Observables.

By having a concrete ObservableSource as lift, operator fusing can now identify both the source and the operation inside it via casting, unlike the lambda version of this.

Field Summary

Modifier and TypeField and Description
pack-priv final ObservableOperator<? extends R, ? super T>
operator

The actual operator.

Inherited from io.reactivex.rxjava3.internal.operators.observable.AbstractObservableWithUpstream:
source

Constructor Summary

AccessConstructor and Description
public
ObservableLift(ObservableSource<T> source, ObservableOperator<? extends R, ? super T> operator)

Method Summary

Modifier and TypeMethod and Description
public void
subscribeActual(Observer<? super R> observer)

Inherited from io.reactivex.rxjava3.internal.operators.observable.AbstractObservableWithUpstream:
source

Field Detail

operatorback to summary
pack-priv final ObservableOperator<? extends R, ? super T> operator

The actual operator.

Constructor Detail

ObservableLiftback to summary
public ObservableLift(ObservableSource<T> source, ObservableOperator<? extends R, ? super T> operator)

Method Detail

subscribeActualback to summary
public void subscribeActual(Observer<? super R> observer)
Annotations
@Override