| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final BiConsumer | |
| pack-priv final Callable |
| Access | Constructor and Description |
|---|---|
| public | FlowableCollect(Flowable<T> source, Callable<? extends U> initialSupplier, BiConsumer<? super U, ? super T> collector)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(Subscriber<? super U>
the incoming Subscriber, never null s)Implements abstract io. Subscribers.
|
| collector | back to summary |
|---|---|
| pack-priv final BiConsumer<? super U, ? super T> collector | |
| initialSupplier | back to summary |
|---|---|
| pack-priv final Callable<? extends U> initialSupplier | |
| FlowableCollect | back to summary |
|---|---|
| public FlowableCollect(Flowable<T> source, Callable<? extends U> initialSupplier, BiConsumer<? super U, ? super T> collector) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(Subscriber<? super U> s) Implements abstract io. Doc from io. Operator implementations (both source and intermediate) should implement this method that
performs the necessary business logic and handles the incoming There is no need to call any of the plugin hooks on the current
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final BiConsumer | |
| pack-priv boolean | |
| private static final long | |
| pack-priv final U | |
| pack-priv Subscription |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| 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(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements io. onNext(Object) is established before
calling Subscription#request(long).
|
| collector | back to summary |
|---|---|
| pack-priv final BiConsumer<? super U, ? super T> collector | |
| done | back to summary |
|---|---|
| pack-priv boolean done | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| u | back to summary |
|---|---|
| pack-priv final U u | |
| upstream | back to summary |
|---|---|
| pack-priv Subscription upstream | |
| CollectSubscriber | back to summary |
|---|---|
| pack-priv CollectSubscriber(Subscriber<? super U> actual, U u, BiConsumer<? super U, ? super T> collector) | |
| 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(Subscription s) Implements io. Doc from io. Implementors of this method should make sure everything that needs
to be visible in
No data will start flowing until
It is the responsibility of this
The
| |