T
- the value typeU
- the key typepublic final class OperatorDistinct<T,U> extends Object implements Observable.Operator<T,T>
Constructor and Description |
---|
OperatorDistinct(Func1<? super T,? extends U> keySelector) |
Modifier and Type | Method and Description |
---|---|
Subscriber<? super T> |
call(Subscriber<? super T> child) |
static <T> OperatorDistinct<T,T> |
instance()
Returns a singleton instance of OperatorDistinct that was built using
the identity function for comparison (
new OperatorDistinct(UtilityFunctions.identity()) ). |
public static <T> OperatorDistinct<T,T> instance()
new OperatorDistinct(UtilityFunctions.identity())
).T
- the value typepublic Subscriber<? super T> call(Subscriber<? super T> child)
call
in interface Func1<Subscriber<? super T>,Subscriber<? super T>>
Copyright © 2017. All rights reserved.