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 |
|---|---|
| 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 | |
| FlowableCollectWithCollector | back to summary |
|---|---|
| public FlowableCollectWithCollector(Flowable<T> source, Collector<? super T, A, R> collector) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(@NonNull Subscriber<? super R> s)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final BiConsumer | |
| pack-priv A | |
| pack-priv boolean | |
| pack-priv final Function | |
| private static final long | |
| pack-priv Subscription |
| Access | Constructor and Description |
|---|---|
| pack-priv | CollectorSubscriber(Subscriber<? super R> downstream, A container, BiConsumer<A, T> accumulator, Function<A, R> finisher)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | cancel()
Overrides io. Implements org. Publisher to stop sending data and clean up resources.
|
| 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 | |
| finisher | back to summary |
|---|---|
| pack-priv final Function<A, R> finisher | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| upstream | back to summary |
|---|---|
| pack-priv Subscription upstream | |
| CollectorSubscriber | back to summary |
|---|---|
| pack-priv CollectorSubscriber(Subscriber<? super R> downstream, A container, BiConsumer<A, T> accumulator, Function<A, R> finisher) | |
| cancel | back to summary |
|---|---|
| public void cancel() Overrides io. Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| 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
| |