Top Inners Fields Constructors Methods
io.reactivex.rxjava3.internal.operators.single

public final Class SingleMap<T, R>

extends Single<R>
Class Inheritance
Imports
io.reactivex.rxjava3.core.*, io.reactivex.rxjava3.disposables.Disposable, io.reactivex.rxjava3.exceptions.Exceptions, io.reactivex.rxjava3.functions.Function, java.util.Objects

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv final Function<? super T, ? extends R>
pack-priv final SingleSource<? extends T>

Constructor Summary

AccessConstructor and Description
public
SingleMap(SingleSource<? extends T> source, Function<? super T, ? extends R> mapper)

Method Summary

Modifier and TypeMethod and Description
protected void
subscribeActual(final SingleObserver<? super R> t)

Inherited from io.reactivex.rxjava3.core.Single:
ambambArrayambWithblockingGetblockingSubscribeblockingSubscribeblockingSubscribeblockingSubscribecachecastcomposeconcatconcatconcatconcatconcatconcatconcatconcatArrayconcatArrayDelayErrorconcatArrayEagerconcatArrayEagerDelayErrorconcatDelayErrorconcatDelayErrorconcatDelayErrorconcatEagerconcatEagerconcatEagerconcatEagerconcatEagerDelayErrorconcatEagerDelayErrorconcatEagerDelayErrorconcatEagerDelayErrorconcatMapconcatMapCompletableconcatMapMaybeconcatWithcontainscontainscreatedeferdelaydelaydelaydelaydelaySubscriptiondelaySubscriptiondelaySubscriptiondelaySubscriptiondelaySubscriptiondelaySubscriptiondematerializedoAfterSuccessdoAfterTerminatedoFinallydoOnDisposedoOnErrordoOnEventdoOnLifecycledoOnSubscribedoOnSuccessdoOnTerminateerrorerrorfilterflatMapflatMapflatMapflatMapCompletableflatMapMaybeflatMapObservableflatMapPublisherflattenAsFlowableflattenAsObservableflattenStreamAsFlowableflattenStreamAsObservablefromCallablefromCompletionStagefromFuturefromFuturefromMaybefromMaybefromObservablefromPublisherfromSupplierhideignoreElementjustliftmapmapOptionalmaterializemergemergemergemergemergemergemergeArraymergeArrayDelayErrormergeDelayErrormergeDelayErrormergeDelayErrormergeDelayErrormergeDelayErrormergeWithneverobserveOnofTypeonErrorCompleteonErrorCompleteonErrorResumeNextonErrorResumeWithonErrorReturnonErrorReturnItemonTerminateDetachrepeatrepeatrepeatUntilrepeatWhenretryretryretryretryretryretryUntilretryWhensafeSubscribesequenceEqualstartWithstartWithstartWithstartWithstartWithsubscribesubscribesubscribesubscribesubscribesubscribesubscribeActualsubscribeOnsubscribeWithswitchOnNextswitchOnNextDelayErrortakeUntiltakeUntiltakeUntiltesttesttimeIntervaltimeIntervaltimeIntervaltimeIntervaltimeouttimeouttimeouttimeouttimertimertimestamptimestamptimestamptimestamptotoCompletionStagetoFlowabletoFuturetoMaybetoObservableunsafeCreateunsubscribeOnusingusingwrapzipzipzipzipzipzipzipzipzipzipArrayzipWith

Field Detail

mapperback to summary
pack-priv final Function<? super T, ? extends R> mapper
sourceback to summary
pack-priv final SingleSource<? extends T> source

Constructor Detail

SingleMapback to summary
public SingleMap(SingleSource<? extends T> source, Function<? super T, ? extends R> mapper)

Method Detail

subscribeActualback to summary
protected void subscribeActual(final SingleObserver<? super R> t)
Annotations
@Override
io.reactivex.rxjava3.internal.operators.single back to summary

pack-priv final Class SingleMap.MapSingleObserver<T, R>

extends Object
implements SingleObserver<T>
Class Inheritance
  • java.lang.Object
  • io.reactivex.rxjava3.internal.operators.single.SingleMap.MapSingleObserver
All Implemented Interfaces
io.reactivex.rxjava3.core.SingleObserver

Field Summary

Modifier and TypeField and Description
pack-priv final Function<? super T, ? extends R>
pack-priv final SingleObserver<? super R>
t

Constructor Summary

AccessConstructor and Description
pack-priv
MapSingleObserver(SingleObserver<? super R> t, Function<? super T, ? extends R> mapper)

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
onSuccess(T
the item emitted by the Single
value
)

Implements io.reactivex.rxjava3.core.SingleObserver.onSuccess.

Notifies the SingleObserver with a single item and that the Single has finished sending push-based notifications.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mapperback to summary
pack-priv final Function<? super T, ? extends R> mapper
tback to summary
pack-priv final SingleObserver<? super R> t

Constructor Detail

MapSingleObserverback to summary
pack-priv MapSingleObserver(SingleObserver<? super R> t, Function<? super T, ? extends R> mapper)

Method Detail

onErrorback to summary
public void onError(Throwable e)
Annotations
@Override
onSubscribeback to summary
public void onSubscribe(Disposable d)
Annotations
@Override
onSuccessback to summary
public void onSuccess(T value)

Implements io.reactivex.rxjava3.core.SingleObserver.onSuccess.

Doc from io.reactivex.rxjava3.core.SingleObserver.onSuccess.

Notifies the SingleObserver with a single item and that the Single has finished sending push-based notifications.

The Single will not call this method if it calls onError.

Parameters
value:T

the item emitted by the Single

Annotations
@Override