public static class OperationToMap.ToMap.ToMapObserver<K,V,T> extends Subscriber<T>
| Constructor and Description | 
|---|
| OperationToMap.ToMap.ToMapObserver(Observer<? super java.util.Map<K,V>> t1,
                                  Func1<? super T,? extends K> keySelector,
                                  Func1<? super T,? extends V> valueSelector,
                                  java.util.Map<K,V> map) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | onCompleted()Notifies the Observer that the  Observablehas finished sending push-based notifications. | 
| void | onError(java.lang.Throwable e)Notifies the Observer that the  Observablehas experienced an error condition. | 
| void | onNext(T args)Provides the Observer with new data. | 
add, isUnsubscribed, unsubscribepublic void onNext(T args)
Observer
 The Observable calls this closure 1 or more times, unless it calls onError in which
 case this closure may never be called.
 
 The Observable will not call this closure again after it calls either onCompleted or
 onError.
public void onError(java.lang.Throwable e)
ObserverObservable has experienced an error condition.
 
 If the Observable calls this closure, it will not thereafter call onNext or
 onCompleted.
public void onCompleted()
ObserverObservable has finished sending push-based notifications.
 
 The Observable will not call this closure if it calls onError.