T - the type of items emitted by the source ObservableU - the type of items emitted by the derived ObservablesR - the type of items to be emitted by this Operatorpublic final class OperatorMergeMapPair<T,U,R> extends java.lang.Object implements Observable.Operator<R,T>
Observable.Operator that pairs up items emitted by a source Observable with the sequence of items
emitted by the Observable that is derived from each item by means of a selector, and emits the
results of this pairing.| Constructor and Description |
|---|
OperatorMergeMapPair(Func1<? super T,? extends Observable<? extends U>> collectionSelector,
Func2<? super T,? super U,? extends R> resultSelector) |
| Modifier and Type | Method and Description |
|---|---|
Subscriber<? super T> |
call(Subscriber<? super R> child) |
static <T,U> Func1<T,Observable<U>> |
convertSelector(Func1<? super T,? extends java.lang.Iterable<? extends U>> selector)
Creates the function that generates a
Observable based on an item emitted by another
Observable. |
public static <T,U> Func1<T,Observable<U>> convertSelector(Func1<? super T,? extends java.lang.Iterable<? extends U>> selector)
Observable based on an item emitted by another
Observable.selector - a function that accepts an item and returns an Iterable of corresponding itemsObservable into an
Observable that emits the items generated by selector operating on that itempublic Subscriber<? super T> call(Subscriber<? super R> child)
call in interface Func1<Subscriber<? super R>,Subscriber<? super T>>