| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Func1 | |
| pack-priv final Func0 | |
| pack-priv final Observable | |
| pack-priv final Func1 |
| Access | Constructor and Description |
|---|---|
| public | OnSubscribeToMap(Observable<T>
the source Observable instance source, Func1<? super T, ? extends K> the function extracting the map-key from the main value keySelector, Func1<? super T, ? extends V> the function extracting the map-value from the main value valueSelector)ToMap with key selector, value selector and default HashMap factory. |
| public | OnSubscribeToMap(Observable<T>
the source Observable instance source, Func1<? super T, ? extends K> the function extracting the map-key from the main value keySelector, Func1<? super T, ? extends V> the function extracting the map-value from the main value valueSelector, Func0<? extends Map<K, V>> function that returns a Map instance to store keys and values into mapFactory)ToMap with key selector, value selector and custom Map factory. |
| Modifier and Type | Method and Description |
|---|---|
| public Map | call()
Implements rx. |
| public void |
| keySelector | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends K> keySelector | |
| mapFactory | back to summary |
|---|---|
| pack-priv final Func0<? extends Map<K, V>> mapFactory | |
| source | back to summary |
|---|---|
| pack-priv final Observable<T> source | |
| valueSelector | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends V> valueSelector | |
| OnSubscribeToMap | back to summary |
|---|---|
| public OnSubscribeToMap(Observable<T> source, Func1<? super T, ? extends K> keySelector, Func1<? super T, ? extends V> valueSelector) ToMap with key selector, value selector and default HashMap factory.
| |
| OnSubscribeToMap | back to summary |
|---|---|
| public OnSubscribeToMap(Observable<T> source, Func1<? super T, ? extends K> keySelector, Func1<? super T, ? extends V> valueSelector, Func0<? extends Map<K, V>> mapFactory) ToMap with key selector, value selector and custom Map factory.
| |
| call | back to summary |
|---|---|
| public Map Implements rx. Doc from java. Computes a result, or throws an exception if unable to do so. | |
| call | back to summary |
|---|---|
| public void call(final Subscriber<? super Map<K, V>> subscriber) Implements rx.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Func1 | |
| pack-priv final Func1 |
| Access | Constructor and Description |
|---|---|
| pack-priv | ToMapSubscriber(Subscriber<? super Map<K, V>> actual, Map<K, V> map, Func1<? super T, ? extends K> keySelector, Func1<? super T, ? extends V> valueSelector)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | onNext(T
the item emitted by the Observable t)Implements rx. |
| public void | onStart()
Overrides rx. |
| keySelector | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends K> keySelector | |
| valueSelector | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends V> valueSelector | |
| ToMapSubscriber | back to summary |
|---|---|
| pack-priv ToMapSubscriber(Subscriber<? super Map<K, V>> actual, Map<K, V> map, Func1<? super T, ? extends K> keySelector, Func1<? super T, ? extends V> valueSelector) | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements rx. Doc from rx. Provides the Observer with a new item to observe.
The
The
| |
| onStart | back to summary |
|---|---|
| public void onStart() Overrides rx. Doc from rx. This method is invoked when the Subscriber and Observable have been connected but the Observable has not yet begun to emit items or send notifications to the Subscriber. Override this method to add any useful initialization to your subscription, for instance to initiate backpressure.
| |