| 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 |
| 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)
| |
| 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. Observer with a new item to observe.
|
| 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
The
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
| |