Package rx.internal.operators
Class SingleOnSubscribeMap.MapSubscriber<T,R>
java.lang.Object
rx.SingleSubscriber<T>
rx.internal.operators.SingleOnSubscribeMap.MapSubscriber<T,R>
- All Implemented Interfaces:
Subscription
- Enclosing class:
SingleOnSubscribeMap<T,R>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMapSubscriber(SingleSubscriber<? super R> actual, Func1<? super T, ? extends R> mapper) -
Method Summary
Methods inherited from class rx.SingleSubscriber
add, isUnsubscribed, unsubscribe
-
Field Details
-
actual
-
mapper
-
done
boolean done
-
-
Constructor Details
-
MapSubscriber
-
-
Method Details
-
onSuccess
Description copied from class:SingleSubscriberNotifies the SingleSubscriber with a single item and that theSinglehas finished sending push-based notifications.The
Singlewill not call this method if it callsSingleSubscriber.onError(java.lang.Throwable).- Specified by:
onSuccessin classSingleSubscriber<T>- Parameters:
t- the item emitted by the Single
-
onError
Description copied from class:SingleSubscriberNotifies the SingleSubscriber that theSinglehas experienced an error condition.If the
Singlecalls this method, it will not thereafter callSingleSubscriber.onSuccess(T).- Specified by:
onErrorin classSingleSubscriber<T>- Parameters:
e- the exception encountered by the Single
-