T - the upstream value typeR - the downstream parameter typepublic final class NbpOnSubscribeLift<R,T> extends java.lang.Object implements NbpObservable.NbpOnSubscribe<R>
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.
| Constructor and Description |
|---|
NbpOnSubscribeLift(NbpObservable<? extends T> source,
NbpObservable.NbpOperator<? extends R,? super T> operator) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NbpObservable.NbpSubscriber<? super R> s) |
NbpObservable.NbpOperator<? extends R,? super T> |
operator()
Returns the operator of this lift publisher.
|
NbpObservable<? extends T> |
source()
Returns the source of this lift publisher.
|
public NbpOnSubscribeLift(NbpObservable<? extends T> source, NbpObservable.NbpOperator<? extends R,? super T> operator)
public NbpObservable.NbpOperator<? extends R,? super T> operator()
public NbpObservable<? extends T> source()
public void accept(NbpObservable.NbpSubscriber<? super R> s)
accept in interface Consumer<NbpObservable.NbpSubscriber<? super R>>