| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Supplier | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| public | FlowableDistinct(Flowable<T> source, Function<? super T, K> keySelector, Supplier<? extends Collection<? super K>> collectionSupplier)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| collectionSupplier | back to summary |
|---|---|
| pack-priv final Supplier<? extends Collection<? super K>> collectionSupplier | |
| keySelector | back to summary |
|---|---|
| pack-priv final Function<? super T, K> keySelector | |
| FlowableDistinct | back to summary |
|---|---|
| public FlowableDistinct(Flowable<T> source, Function<? super T, K> keySelector, Supplier<? extends Collection<? super K>> collectionSupplier) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(Subscriber<? super T> subscriber)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Collection | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| pack-priv | DistinctSubscriber(Subscriber<? super T> actual, Function<? super T, K> keySelector, Collection<? super K> collection)
|
| collection | back to summary |
|---|---|
| pack-priv final Collection<? super K> collection | |
| keySelector | back to summary |
|---|---|
| pack-priv final Function<? super T, K> keySelector | |
| DistinctSubscriber | back to summary |
|---|---|
| pack-priv DistinctSubscriber(Subscriber<? super T> actual, Function<? super T, K> keySelector, Collection<? super K> collection) | |
| clear | back to summary |
|---|---|
| public void clear() Overrides io. Implements io. Doc from io. Removes all enqueued items from this queue.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Overrides io. Implements org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Overrides io. Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onNext | back to summary |
|---|---|
| public void onNext(T value) Implements org. Doc from org. Data notification sent by the
| |
| poll | back to summary |
|---|---|
| public T poll() throws Throwable Implements io. Doc from io. Tries to dequeue a value (non-null) or returns null if the queue is empty.
If the producer uses | |
| requestFusion | back to summary |
|---|---|
| public int requestFusion(int mode) Implements io. Doc from io. Request a fusion mode from the upstream.
This should be called before
Calling this method multiple times or after
| |