History: 2.0.2 - experimental
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function | |
| pack-priv final MaybeSource |
| Access | Constructor and Description |
|---|---|
| public | MaybeFlatMapSingleElement(MaybeSource<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(MaybeObserver<? super R>
the MaybeObserver to handle, not null downstream)Implements abstract io. MaybeObservers.
|
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends SingleSource<? extends R>> mapper | |
| source | back to summary |
|---|---|
| pack-priv final MaybeSource<T> source | |
| MaybeFlatMapSingleElement | back to summary |
|---|---|
| public MaybeFlatMapSingleElement(MaybeSource<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(MaybeObserver<? super R> downstream) Implements abstract io. Doc from io. Implement this method in subclasses to handle the incoming There is no need to call any of the plugin hooks on the current
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final MaybeObserver | |
| pack-priv final Function | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | FlatMapMaybeObserver(MaybeObserver<? super R> actual, Function<? super T, ? extends SingleSource<? extends R>> mapper)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| public void | onComplete()
Implements io. |
| public void | onError(Throwable
the exception encountered by the Maybe e)Implements io. Maybe has experienced an error condition.
|
| public void | onSubscribe(Disposable
the Disposable instance whose d)Disposable#dispose() can
be called anytime to cancel the connectionImplements io. onSubscribe(Disposable) itself) and asynchronous manner.
|
| public void | onSuccess(T
the item emitted by the Maybe value)Implements io. Maybe has finished sending
push-based notifications.
|
| downstream | back to summary |
|---|---|
| pack-priv final MaybeObserver<? super R> downstream | |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends SingleSource<? extends R>> mapper | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| FlatMapMaybeObserver | back to summary |
|---|---|
| pack-priv FlatMapMaybeObserver(MaybeObserver<? super R> actual, Function<? super T, ? extends SingleSource<? extends R>> mapper) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements io. Doc from io. Returns true if this resource has been disposed.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Called once the deferred computation completes normally.
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements io. Doc from io. Notifies the MaybeObserver that the
If the | |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Disposable d) Implements io. Doc from io. Provides the MaybeObserver with the means of cancelling (disposing) the
connection (channel) with the Maybe in both
synchronous (from within
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T value) Implements io. Doc from io. Notifies the MaybeObserver with one item and that the
The
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final MaybeObserver | |
| pack-priv final AtomicReference |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | onError(final Throwable
the exception encountered by the Single e)Implements io. Single has experienced an error condition.
|
| public void | onSubscribe(final Disposable
the Disposable instance whose d)Disposable#dispose() can
be called anytime to cancel the connectionImplements io. onSubscribe(Disposable) itself) and asynchronous manner.
|
| public void | onSuccess(final R
the item emitted by the Single value)Implements io. Single has finished sending
push-based notifications.
|
| downstream | back to summary |
|---|---|
| pack-priv final MaybeObserver<? super R> downstream | |
| parent | back to summary |
|---|---|
| pack-priv final AtomicReference<Disposable> parent | |
| FlatMapSingleObserver | back to summary |
|---|---|
| pack-priv FlatMapSingleObserver(AtomicReference<Disposable> parent, MaybeObserver<? super R> downstream) | |
| onError | back to summary |
|---|---|
| public void onError(final Throwable e) Implements io. Doc from io. Notifies the SingleObserver that the
If the | |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(final Disposable d) Implements io. Doc from io. Provides the SingleObserver with the means of cancelling (disposing) the
connection (channel) with the Single in both
synchronous (from within
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(final R value) Implements io. Doc from io. Notifies the SingleObserver with a single item and that the
The
| |