discord-jadx/app/src/main/java/j0/l/a/u0.java

40 lines
1.1 KiB
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package j0.l.a;
import j0.k.b;
import j0.l.e.l;
import rx.Observable;
import rx.Subscriber;
import rx.functions.Func2;
/* compiled from: OperatorDistinctUntilChanged */
public final class u0<T, U> implements Observable.b<T, T>, Func2<U, U, Boolean> {
public final b<? super T, ? extends U> i;
public final Func2<? super U, ? super U, Boolean> j;
/* compiled from: OperatorDistinctUntilChanged */
public static final class a {
public static final u0<?, ?> a = new u0<>(l.INSTANCE);
}
public u0(b<? super T, ? extends U> bVar) {
this.i = bVar;
this.j = this;
}
public u0(Func2<? super U, ? super U, Boolean> func2) {
this.i = l.INSTANCE;
this.j = func2;
}
@Override // j0.k.b
public Object call(Object obj) {
Subscriber subscriber = (Subscriber) obj;
return new t0(this, subscriber, subscriber);
}
/* Return type fixed from 'java.lang.Object' to match base method */
@Override // rx.functions.Func2
public Boolean call(Object obj, Object obj2) {
return Boolean.valueOf(obj == obj2 || (obj != null && obj.equals(obj2)));
}
}