Package rx.internal.operators
Class OnSubscribeLift<T,R>
- java.lang.Object
-
- rx.internal.operators.OnSubscribeLift<T,R>
-
- Type Parameters:
T
- the source value typeR
- the result value type
- All Implemented Interfaces:
Action
,Action1<Subscriber<? super R>>
,Function
,Observable.OnSubscribe<R>
public final class OnSubscribeLift<T,R> extends java.lang.Object implements Observable.OnSubscribe<R>
Transforms the downstream Subscriber into a Subscriber via an operator callback and calls the parent OnSubscribe.call() method with it.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Observable.Operator<? extends R,? super T>
operator
(package private) Observable.OnSubscribe<T>
parent
-
Constructor Summary
Constructors Constructor Description OnSubscribeLift(Observable.OnSubscribe<T> parent, Observable.Operator<? extends R,? super T> operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
call(Subscriber<? super R> o)
-
-
-
Field Detail
-
parent
final Observable.OnSubscribe<T> parent
-
operator
final Observable.Operator<? extends R,? super T> operator
-
-
Constructor Detail
-
OnSubscribeLift
public OnSubscribeLift(Observable.OnSubscribe<T> parent, Observable.Operator<? extends R,? super T> operator)
-
-
Method Detail
-
call
public void call(Subscriber<? super R> o)
-
-