package p006b1;

import java.io.Serializable;
import p039m1.C1468e;
import p039m1.C1470g;

/* renamed from: b1.f */
/* loaded from: classes.dex */
public final class C0476f<T> implements Serializable {

    /* renamed from: d */
    public static final C0477a f1684d = new C0477a(null);

    /* renamed from: b1.f$a */
    /* loaded from: classes.dex */
    public static final class C0477a {
        public C0477a() {
        }

        public /* synthetic */ C0477a(C1468e c1468e) {
            this();
        }
    }

    /* renamed from: b1.f$b */
    /* loaded from: classes.dex */
    public static final class C0478b implements Serializable {

        /* renamed from: d */
        public final Throwable f1685d;

        public C0478b(Throwable th) {
            C1470g.m1292e(th, "exception");
            this.f1685d = th;
        }

        public boolean equals(Object obj) {
            return (obj instanceof C0478b) && C1470g.m1296a(this.f1685d, ((C0478b) obj).f1685d);
        }

        public int hashCode() {
            return this.f1685d.hashCode();
        }

        public String toString() {
            return "Failure(" + this.f1685d + ')';
        }
    }

    /* renamed from: a */
    public static <T> Object m3626a(Object obj) {
        return obj;
    }

    /* renamed from: b */
    public static final Throwable m3625b(Object obj) {
        if (obj instanceof C0478b) {
            return ((C0478b) obj).f1685d;
        }
        return null;
    }

    /* renamed from: c */
    public static final boolean m3624c(Object obj) {
        return obj instanceof C0478b;
    }

    /* renamed from: d */
    public static final boolean m3623d(Object obj) {
        return !(obj instanceof C0478b);
    }
}