Observable
Observables
Operator
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.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Func1 | |
| pack-priv final Func2 |
| Access | Constructor and Description |
|---|---|
| public | OperatorMapPair(final Func1<? super T, ? extends Observable<? extends U>> collectionSelector, final Func2<? super T, ? super U, ? extends R> resultSelector)
|
| Modifier and Type | Method and Description |
|---|---|
| public Subscriber | |
| public static < the input value type T, the value type of the generated Observable U> Func1 | Returns: a function that converts an item emitted by the sourceObservable into an Observable that emits the items generated by selector operating on that itema function that accepts an item and returns an selector)Iterable of corresponding itemsCreates the function that generates a |
| collectionSelector | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends Observable<? extends U>> collectionSelector | |
| resultSelector | back to summary |
|---|---|
| pack-priv final Func2<? super T, ? super U, ? extends R> resultSelector | |
| OperatorMapPair | back to summary |
|---|---|
| public OperatorMapPair(final Func1<? super T, ? extends Observable<? extends U>> collectionSelector, final Func2<? super T, ? super U, ? extends R> resultSelector) | |
| call | back to summary |
|---|---|
| public Subscriber Implements rx.
| |
| convertSelector | back to summary |
|---|---|
| public static <T, U> Func1 Creates the function that generates a
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Subscriber | |
| pack-priv final Func1 | |
| pack-priv boolean | |
| pack-priv final Func2 |
| Access | Constructor and Description |
|---|---|
| public | MapPairSubscriber(Subscriber<? super Observable<? extends R>> actual, Func1<? super T, ? extends Observable<? extends U>> collectionSelector, Func2<? super T, ? super U, ? extends R> resultSelector)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | onCompleted()
Implements rx. Observable has finished sending push-based notifications.
|
| public void | onError(Throwable
the exception encountered by the Observable e)Implements rx. Observable has experienced an error condition.
|
| public void | onNext(T
the item emitted by the Observable outer)Implements rx. |
| public void | setProducer(Producer
producer to be used by this subscriber or the other subscriber
(or recursively its other subscriber) to make requests from p)Overrides rx. Subscriber(Subscriber) or
Subscriber(Subscriber, boolean)) then this method calls
setProducer on the other subscriber.
|
| actual | back to summary |
|---|---|
| pack-priv final Subscriber<? super Observable<? extends R>> actual | |
| collectionSelector | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends Observable<? extends U>> collectionSelector | |
| done | back to summary |
|---|---|
| pack-priv boolean done | |
| resultSelector | back to summary |
|---|---|
| pack-priv final Func2<? super T, ? super U, ? extends R> resultSelector | |
| MapPairSubscriber | back to summary |
|---|---|
| public MapPairSubscriber(Subscriber<? super Observable<? extends R>> actual, Func1<? super T, ? extends Observable<? extends U>> collectionSelector, Func2<? super T, ? super U, ? extends R> resultSelector) | |
| onCompleted | back to summary |
|---|---|
| public void onCompleted() Implements rx. Doc from rx. Notifies the Observer that the
The
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements rx. Doc from rx. Notifies the Observer that the
If the | |
| onNext | back to summary |
|---|---|
| public void onNext(T outer) Implements rx. Doc from rx. Provides the Observer with a new item to observe.
The
The
| |
| setProducer | back to summary |
|---|---|
| public void setProducer(Producer p) Overrides rx. Doc from rx. If other subscriber is set (by calling constructor
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final T | |
| pack-priv final Func2 |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public R |
| outer | back to summary |
|---|---|
| pack-priv final T outer | |
| resultSelector | back to summary |
|---|---|
| pack-priv final Func2<? super T, ? super U, ? extends R> resultSelector | |
| OuterInnerMapper | back to summary |
|---|---|
| public OuterInnerMapper(T outer, Func2<? super T, ? super U, ? extends R> resultSelector) | |
| call | back to summary |
|---|---|
| public R call(U inner) Implements rx.
| |