| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SingleSource | |
| pack-priv final T | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| public | SingleOnErrorReturn(SingleSource<? extends T> source, Function<? super Throwable, ? extends T> valueSupplier, T value)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| source | back to summary |
|---|---|
| pack-priv final SingleSource<? extends T> source | |
| value | back to summary |
|---|---|
| pack-priv final T value | |
| valueSupplier | back to summary |
|---|---|
| pack-priv final Function<? super Throwable, ? extends T> valueSupplier | |
| SingleOnErrorReturn | back to summary |
|---|---|
| public SingleOnErrorReturn(SingleSource<? extends T> source, Function<? super Throwable, ? extends T> valueSupplier, T value) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(final SingleObserver<? super T> observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| private final SingleObserver |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | onSuccess(T
the item emitted by the value)SingleImplements io. SingleObserver with a single item and that the Single has finished sending
push-based notifications.
|
| observer | back to summary |
|---|---|
| private final SingleObserver<? super T> observer | |
| OnErrorReturn | back to summary |
|---|---|
| pack-priv OnErrorReturn(SingleObserver<? super T> observer) | |
| onError | back to summary |
|---|---|
public void onError(Throwable e)
| |
| onSubscribe | back to summary |
|---|---|
public void onSubscribe(Disposable d)
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T value) Implements io. Doc from io. Notifies the
The
| |