| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final MaybeSource | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(MaybeObserver<? super R>
the MaybeObserver to handle, not null observer)Implements abstract io. MaybeObservers.
|
| sources | back to summary |
|---|---|
| pack-priv final MaybeSource<? extends T>[] sources | |
| zipper | back to summary |
|---|---|
| pack-priv final Function<? super Object[], ? extends R> zipper | |
| MaybeZipArray | back to summary |
|---|---|
| public MaybeZipArray(MaybeSource<? extends T>[] sources, Function<? super Object[], ? extends R> zipper) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(MaybeObserver<? super R> 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
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public R | apply(T
the input value t)Implements io. |
| SingletonArrayFunc | back to summary |
|---|---|
| pack-priv SingletonArrayFunc() | |
| apply | back to summary |
|---|---|
| public R apply(T t) throws Exception Implements io. Doc from io. Apply some calculation to the input value and return some other value. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final MaybeObserver | |
| pack-priv final MaybeZipArray. | |
| private static final long | |
| pack-priv final Object[] | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| pack-priv | ZipCoordinator(MaybeObserver<? super R> observer, int n, Function<? super Object[], ? extends R> zipper)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public boolean | isDisposed()
Implements io. |
| downstream | back to summary |
|---|---|
| pack-priv final MaybeObserver<? super R> downstream | |
| observers | back to summary |
|---|---|
| pack-priv final MaybeZipArray. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| values | back to summary |
|---|---|
| pack-priv final Object[] values | |
| zipper | back to summary |
|---|---|
| pack-priv final Function<? super Object[], ? extends R> zipper | |
| ZipCoordinator | back to summary |
|---|---|
pack-priv ZipCoordinator(MaybeObserver<? super R> observer, int n, Function<? super Object[], ? extends R> zipper)
| |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| disposeExcept | back to summary |
|---|---|
| pack-priv void disposeExcept(int index) | |
| innerComplete | back to summary |
|---|---|
| pack-priv void innerComplete(int index) | |
| innerError | back to summary |
|---|---|
| pack-priv void innerError(Throwable ex, int index) | |
| innerSuccess | back to summary |
|---|---|
| pack-priv void innerSuccess(T value, int index) | |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements io. Doc from io. Returns true if this resource has been disposed.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final MaybeZipArray. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| 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.
|
| index | back to summary |
|---|---|
| pack-priv final int index | |
| parent | back to summary |
|---|---|
| pack-priv final MaybeZipArray. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| ZipMaybeObserver | back to summary |
|---|---|
| pack-priv ZipMaybeObserver(MaybeZipArray. | |
| dispose | back to summary |
|---|---|
| public void dispose() | |
| 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
| |