T - the type of items emitted by the source
Observable
U - the type of items emitted by the derived
Observables
R - the type of items to be emitted by this
Operator
public final class OperatorMapPair<T,U extends Object,R> implements Observable .Operator <Observable <? extends 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 |
|---|
OperatorMapPair(Func1
|
| Modifier and Type | Method and Description |
|---|---|
Subscriber |
call(Subscriber
|
static <T |
convertSelector(Func1
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 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 items
Observable into an
Observable that emits the items generated by
selector operating on that item
public Subscriber<? super T> call(Subscriber <? super Observable <? extends R>> o)