what-the-bank/sources/o/fYX.java

121 lines
2.9 KiB
Java

package o;
import java.io.Serializable;
import java.util.Objects;
/* loaded from: classes6.dex */
public enum fYX {
COMPLETE;
/* JADX WARN: Multi-variable type inference failed */
public static <T> T c(Object obj) {
return obj;
}
public static <T> Object d(T t) {
return t;
}
/* loaded from: classes6.dex */
static final class HBt implements Serializable {
final Throwable d;
HBt(Throwable th) {
this.d = th;
}
public final String toString() {
StringBuilder sb = new StringBuilder("NotificationLite.Error[");
sb.append(this.d);
sb.append("]");
return sb.toString();
}
public final int hashCode() {
return this.d.hashCode();
}
public final boolean equals(Object obj) {
if (obj instanceof HBt) {
return Objects.equals(this.d, ((HBt) obj).d);
}
return false;
}
}
/* loaded from: classes6.dex */
static final class LWm implements Serializable {
final fSJ c;
LWm(fSJ fsj) {
this.c = fsj;
}
public final String toString() {
StringBuilder sb = new StringBuilder("NotificationLite.Disposable[");
sb.append(this.c);
sb.append("]");
return sb.toString();
}
}
public static Object a(Throwable th) {
return new HBt(th);
}
public static Object d(fSJ fsj) {
return new LWm(fsj);
}
public static boolean b(Object obj) {
return obj instanceof HBt;
}
public static Throwable a(Object obj) {
return ((HBt) obj).d;
}
public static <T> boolean c(Object obj, InterfaceC13174fSv<? super T> interfaceC13174fSv) {
if (obj == COMPLETE) {
interfaceC13174fSv.onComplete();
return true;
}
if (obj instanceof HBt) {
interfaceC13174fSv.onError(((HBt) obj).d);
return true;
}
interfaceC13174fSv.onNext(obj);
return false;
}
public static <T> boolean d(Object obj, InterfaceC13174fSv<? super T> interfaceC13174fSv) {
if (obj == COMPLETE) {
interfaceC13174fSv.onComplete();
return true;
}
if (obj instanceof HBt) {
interfaceC13174fSv.onError(((HBt) obj).d);
return true;
}
if (obj instanceof LWm) {
interfaceC13174fSv.onSubscribe(((LWm) obj).c);
return false;
}
interfaceC13174fSv.onNext(obj);
return false;
}
@Override // java.lang.Enum
public final String toString() {
return "NotificationLite.Complete";
}
public static boolean e(Object obj) {
return obj == COMPLETE;
}
public static Object c() {
return COMPLETE;
}
}