| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final BiPredicate | |
| pack-priv final SingleSource | |
| pack-priv final Object |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(final SingleObserver<? super Boolean>
the SingleObserver to handle, not null observer)Implements abstract io. SingleObservers.
|
| comparer | back to summary |
|---|---|
| pack-priv final BiPredicate<Object, Object> comparer | |
| source | back to summary |
|---|---|
| pack-priv final SingleSource<T> source | |
| value | back to summary |
|---|---|
| pack-priv final Object value | |
| SingleContains | back to summary |
|---|---|
| public SingleContains(SingleSource<T> source, Object value, BiPredicate<Object, Object> comparer) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(final SingleObserver<? super Boolean> observer) 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 |
|---|---|
| private final SingleObserver |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | onError(Throwable
the exception encountered by the Single e)Implements io. Single 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 Single v)Implements io. Single has finished sending
push-based notifications.
|
| downstream | back to summary |
|---|---|
| private final SingleObserver<? super Boolean> downstream | |
| ContainsSingleObserver | back to summary |
|---|---|
| pack-priv ContainsSingleObserver(SingleObserver<? super Boolean> observer) | |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements io. Doc from io. Notifies the SingleObserver that the
If the | |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(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(T v) Implements io. Doc from io. Notifies the SingleObserver with a single item and that the
The
| |