public final class OperatorDistinct<T,K> extends java.lang.Object implements Observable.Operator<T,T>
| Constructor and Description |
|---|
OperatorDistinct(Function<? super T,K> keySelector,
Supplier<? extends Predicate<? super K>> predicateSupplier) |
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Subscriber<? super T> |
apply(org.reactivestreams.Subscriber<? super T> t) |
static <T> OperatorDistinct<T,T> |
untilChanged() |
static <T,K> OperatorDistinct<T,K> |
untilChanged(Function<? super T,K> keySelector) |
static <T,K> OperatorDistinct<T,K> |
withCollection(Function<? super T,K> keySelector,
Supplier<? extends java.util.Collection<? super K>> collectionSupplier) |
public static <T,K> OperatorDistinct<T,K> withCollection(Function<? super T,K> keySelector, Supplier<? extends java.util.Collection<? super K>> collectionSupplier)
public static <T> OperatorDistinct<T,T> untilChanged()
public static <T,K> OperatorDistinct<T,K> untilChanged(Function<? super T,K> keySelector)