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

public final Class MaybeLift<T, R>

extends AbstractMaybeWithUpstream<T, R>
Class Inheritance
Type Parameters
<T>
the upstream value type
<R>
the downstream value type
Imports
io.reactivex.*, io.reactivex.exceptions.Exceptions, io.reactivex.internal.disposables.EmptyDisposable, io.reactivex.internal.functions.ObjectHelper

Calls a MaybeOperator for the incoming MaybeObserver.

Field Summary

Modifier and TypeField and Description
pack-priv final MaybeOperator<? extends R, ? super T>
Inherited from io.reactivex.internal.operators.maybe.AbstractMaybeWithUpstream:
source

Constructor Summary

AccessConstructor and Description
public
MaybeLift(MaybeSource<T> source, MaybeOperator<? extends R, ? super T> operator)

Method Summary

Modifier and TypeMethod and Description
protected void
subscribeActual(MaybeObserver<? super R>
the MaybeObserver to handle, not null
observer
)

Implements abstract io.reactivex.Maybe.subscribeActual.

Implement this method in subclasses to handle the incoming MaybeObservers.
Inherited from io.reactivex.internal.operators.maybe.AbstractMaybeWithUpstream:
source

Field Detail

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

Constructor Detail

MaybeLiftback to summary
public MaybeLift(MaybeSource<T> source, MaybeOperator<? extends R, ? super T> operator)

Method Detail

subscribeActualback to summary
protected void subscribeActual(MaybeObserver<? super R> observer)

Implements abstract io.reactivex.Maybe.subscribeActual.

Doc from io.reactivex.Maybe.subscribeActual.

Implement this method in subclasses to handle the incoming MaybeObservers.

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

Parameters
observer:MaybeObserver<? super R>

the MaybeObserver to handle, not null

Annotations
@Override