| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final BiPredicate | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| public | ObservableDistinctUntilChanged(ObservableSource<T> source, Function<? super T, K> keySelector, BiPredicate<? super K, ? super K> comparer)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(Observer<? super T>
the incoming Observer, never null observer)Implements abstract io. Observers.
|
| comparer | back to summary |
|---|---|
| pack-priv final BiPredicate<? super K, ? super K> comparer | |
| keySelector | back to summary |
|---|---|
| pack-priv final Function<? super T, K> keySelector | |
| ObservableDistinctUntilChanged | back to summary |
|---|---|
| public ObservableDistinctUntilChanged(ObservableSource<T> source, Function<? super T, K> keySelector, BiPredicate<? super K, ? super K> comparer) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(Observer<? super T> observer) 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 BiPredicate | |
| pack-priv boolean | |
| pack-priv final Function | |
| pack-priv K |
| Access | Constructor and Description |
|---|---|
| pack-priv | DistinctUntilChangedObserver(Observer<? super T> actual, Function<? super T, K> keySelector, BiPredicate<? super K, ? super K> comparer)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | onNext(T
the item emitted by the Observable t)Implements io. |
| public T | poll()
Implements io. |
| public int | requestFusion(int mode)
Implements io. |
| comparer | back to summary |
|---|---|
| pack-priv final BiPredicate<? super K, ? super K> comparer | |
| hasValue | back to summary |
|---|---|
| pack-priv boolean hasValue | |
| keySelector | back to summary |
|---|---|
| pack-priv final Function<? super T, K> keySelector | |
| last | back to summary |
|---|---|
| pack-priv K last | |
| DistinctUntilChangedObserver | back to summary |
|---|---|
| pack-priv DistinctUntilChangedObserver(Observer<? super T> actual, Function<? super T, K> keySelector, BiPredicate<? super K, ? super K> comparer) | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements io. Doc from io. Provides the Observer with a new item to observe.
The
The
| |
| poll | back to summary |
|---|---|
| public T poll() throws Exception 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
| |