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 Observable |
| 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 Observable<T> source | |
| ObservableCollectWithCollector | back to summary |
|---|---|
| public ObservableCollectWithCollector(Observable<T> source, Collector<? super T, A, R> collector) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(@NonNull Observer<? super R> observer)
| |
| 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 Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv | CollectorObserver(Observer<? super R> downstream, A container, BiConsumer<A, T> accumulator, Function<A, R> finisher)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Overrides io. Implements io. |
| public void | onComplete()
Implements io. Observer that the Observable has finished sending push-based notifications.
|
| public void | |
| public void | onNext(T
the item emitted by the Observable t)Implements io. Observer with a new item to observe.
|
| public void |
| 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 Disposable upstream | |
| CollectorObserver | back to summary |
|---|---|
| pack-priv CollectorObserver(Observer<? super R> downstream, A container, BiConsumer<A, T> accumulator, Function<A, R> finisher) | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides io. Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Notifies the
The
| |
| onError | back to summary |
|---|---|
public void onError(Throwable t)
| |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements io. Doc from io. Provides the
The
The
| |
| onSubscribe | back to summary |
|---|---|
public void onSubscribe(@NonNull Disposable d)
| |