Package rx.internal.operators
Class OperatorWithLatestFrom<T,U,R>
- java.lang.Object
-
- rx.internal.operators.OperatorWithLatestFrom<T,U,R>
-
- Type Parameters:
T
- the element type of the main observableU
- the element type of the other observable that is merged into the mainR
- the result element type
- All Implemented Interfaces:
Func1<Subscriber<? super R>,Subscriber<? super T>>
,Function
,Observable.Operator<R,T>
public final class OperatorWithLatestFrom<T,U,R> extends java.lang.Object implements Observable.Operator<R,T>
Combines values from two sources only when the main source emits.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.Object
EMPTY
Indicates the other has not yet emitted a value.(package private) Observable<? extends U>
other
(package private) Func2<? super T,? super U,? extends R>
resultSelector
-
Constructor Summary
Constructors Constructor Description OperatorWithLatestFrom(Observable<? extends U> other, Func2<? super T,? super U,? extends R> resultSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Subscriber<? super T>
call(Subscriber<? super R> child)
-
-
-
Method Detail
-
call
public Subscriber<? super T> call(Subscriber<? super R> child)
-
-