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

98 lines
2.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.io.Serializable;
/* renamed from: o.fZS, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C13395fZS<T> implements Serializable {
public static final IeS b = new IeS(0);
private final Object e;
public static <T> Object a(Object obj) {
return obj;
}
private /* synthetic */ C13395fZS(Object obj) {
this.e = obj;
}
public static final boolean c(Object obj) {
return !(obj instanceof LWm);
}
public static final boolean e(Object obj) {
return obj instanceof LWm;
}
public static final Throwable d(Object obj) {
if (obj instanceof LWm) {
return ((LWm) obj).d;
}
return null;
}
/* renamed from: o.fZS$IeS */
/* loaded from: classes.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
/* renamed from: o.fZS$LWm */
/* loaded from: classes.dex */
public static final class LWm implements Serializable {
public final Throwable d;
public LWm(Throwable th) {
C14957gcv.e(th, "");
this.d = th;
}
public final boolean equals(Object obj) {
return (obj instanceof LWm) && C14957gcv.b(this.d, ((LWm) obj).d);
}
public final int hashCode() {
return this.d.hashCode();
}
public final String toString() {
StringBuilder sb = new StringBuilder("Failure(");
sb.append(this.d);
sb.append(')');
return sb.toString();
}
}
public final boolean equals(Object obj) {
return (obj instanceof C13395fZS) && C14957gcv.b(this.e, ((C13395fZS) obj).e);
}
public final int hashCode() {
Object obj = this.e;
if (obj == null) {
return 0;
}
return obj.hashCode();
}
public final String toString() {
Object obj = this.e;
if (obj instanceof LWm) {
return ((LWm) obj).toString();
}
StringBuilder sb = new StringBuilder("Success(");
sb.append(obj);
sb.append(')');
return sb.toString();
}
public static final /* synthetic */ C13395fZS b(Object obj) {
return new C13395fZS(obj);
}
}