Top Description Fields Constructors Methods
io.reactivex.internal.operators.flowable

public final Class FlowableLift<R, T>

extends AbstractFlowableWithUpstream<T, R>
Class Inheritance
Type Parameters
<R>
the downstream parameter type
<T>
the upstream value type
Imports
org.reactivestreams.Subscriber, io.reactivex.*, io.reactivex.exceptions.Exceptions, io.reactivex.plugins.RxJavaPlugins

Allows lifting operators into a chain of Publishers.

By having a concrete Publisher 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 FlowableOperator<? extends R, ? super T>
operator

The actual operator.

Inherited from io.reactivex.internal.operators.flowable.AbstractFlowableWithUpstream:
source

Constructor Summary

AccessConstructor and Description
public
FlowableLift(Flowable<T> source, FlowableOperator<? extends R, ? super T> operator)

Method Summary

Modifier and TypeMethod and Description
public void
subscribeActual(Subscriber<? super R>
the incoming Subscriber, never null
s
)

Implements abstract io.reactivex.Flowable.subscribeActual.

Operator implementations (both source and intermediate) should implement this method that performs the necessary business logic and handles the incoming Subscribers.
Inherited from io.reactivex.internal.operators.flowable.AbstractFlowableWithUpstream:
source

Field Detail

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

The actual operator.

Constructor Detail

FlowableLiftback to summary
public FlowableLift(Flowable<T> source, FlowableOperator<? extends R, ? super T> operator)

Method Detail

subscribeActualback to summary
public void subscribeActual(Subscriber<? super R> s)

Implements abstract io.reactivex.Flowable.subscribeActual.

Doc from io.reactivex.Flowable.subscribeActual.

Operator implementations (both source and intermediate) should implement this method that performs the necessary business logic and handles the incoming Subscribers.

There is no need to call any of the plugin hooks on the current Flowable instance or the Subscriber; all hooks and basic safeguards have been applied by subscribe(Subscriber) before this method gets called.

Parameters
s:Subscriber<? super R>

the incoming Subscriber, never null

Annotations
@Override