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

41 lines
1.1 KiB
Java
Raw Normal View History

2021-11-08 18:25:28 +00:00
package j0.l.a;
2021-06-27 20:44:35 +00:00
2021-11-08 18:25:28 +00:00
import j0.k.b;
2021-12-17 22:03:14 +00:00
import j0.l.e.m;
2021-06-27 20:44:35 +00:00
import rx.Observable;
import rx.Subscriber;
import rx.functions.Func2;
2022-03-02 20:59:20 +00:00
/* compiled from: OperatorDistinctUntilChanged.java */
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public final class u0<T, U> implements Observable.b<T, T>, Func2<U, U, Boolean> {
2021-12-17 22:03:14 +00:00
public final b<? super T, ? extends U> j;
public final Func2<? super U, ? super U, Boolean> k;
2021-06-27 20:44:35 +00:00
2022-03-02 20:59:20 +00:00
/* compiled from: OperatorDistinctUntilChanged.java */
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public static final class a {
2022-01-27 00:50:41 +00:00
public static final u0<?, ?> a = new u0<>(m.a.INSTANCE);
2021-06-27 20:44:35 +00:00
}
public u0(b<? super T, ? extends U> bVar) {
2021-12-17 22:03:14 +00:00
this.j = bVar;
this.k = this;
2021-06-27 20:44:35 +00:00
}
public u0(Func2<? super U, ? super U, Boolean> func2) {
2022-01-27 00:50:41 +00:00
this.j = m.a.INSTANCE;
2021-12-17 22:03:14 +00:00
this.k = func2;
2021-06-27 20:44:35 +00:00
}
2021-11-08 18:25:28 +00:00
@Override // j0.k.b
2021-06-27 20:44:35 +00:00
public Object call(Object obj) {
Subscriber subscriber = (Subscriber) obj;
return new t0(this, subscriber, subscriber);
}
@Override // rx.functions.Func2
public Boolean call(Object obj, Object obj2) {
return Boolean.valueOf(obj == obj2 || (obj != null && obj.equals(obj2)));
}
}