Collector callback set.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Collector | |
| pack-priv final Flowable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Flowable | fuseToFlowable()
Implements io. |
| protected void |
| collector | back to summary |
|---|---|
| pack-priv final Collector<? super T, A, R> collector | |
| source | back to summary |
|---|---|
| pack-priv final Flowable<T> source | |
| FlowableCollectWithCollectorSingle | back to summary |
|---|---|
| public FlowableCollectWithCollectorSingle(Flowable<T> source, Collector<? super T, A, R> collector) | |
| fuseToFlowable | back to summary |
|---|---|
| public Flowable Implements io. Doc from io. Returns a (direct) Flowable for the operator. The implementation should handle the necessary RxJavaPlugins wrapping. | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(@NonNull SingleObserver<? super R> observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final BiConsumer | |
| pack-priv A | |
| pack-priv boolean | |
| pack-priv final SingleObserver | |
| pack-priv final Function | |
| pack-priv Subscription |
| Access | Constructor and Description |
|---|---|
| pack-priv | CollectorSingleObserver(SingleObserver<? super R> downstream, A container, BiConsumer<A, T> accumulator, Function<A, R> finisher)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onNext(T
the element signaled t)Implements org. Publisher in response to requests to Subscription#request(long).
|
| public void | onSubscribe(@NonNull Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements org. Publisher#subscribe(Subscriber).
|
| accumulator | back to summary |
|---|---|
| pack-priv final BiConsumer<A, T> accumulator | |
| container | back to summary |
|---|---|
| pack-priv A container | |
| done | back to summary |
|---|---|
| pack-priv boolean done | |
| downstream | back to summary |
|---|---|
| pack-priv final SingleObserver<? super R> downstream | |
| finisher | back to summary |
|---|---|
| pack-priv final Function<A, R> finisher | |
| upstream | back to summary |
|---|---|
| pack-priv Subscription upstream | |
| CollectorSingleObserver | back to summary |
|---|---|
| pack-priv CollectorSingleObserver(SingleObserver<? super R> downstream, A container, BiConsumer<A, T> accumulator, Function<A, R> finisher) | |
| 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 org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements org. Doc from org. Data notification sent by the
| |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(@NonNull Subscription s) Implements org. Doc from org. Invoked after calling
No data will start flowing until
It is the responsibility of this
The
| |