package a5;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes.dex */
public final class k {

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public static final i f377e = new i();

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final Object f378a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final j f379b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f380c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public volatile byte[] f381d;

    private k(@NonNull String str, @Nullable Object obj, @NonNull j jVar) {
        this.f380c = t5.n.checkNotEmpty(str);
        this.f378a = obj;
        this.f379b = (j) t5.n.checkNotNull(jVar);
    }

    public static k a(Object obj, String str) {
        return new k(str, obj, f377e);
    }

    public static k b(String str) {
        return new k(str, null, f377e);
    }

    @NonNull
    public static <T> k disk(@NonNull String str, @Nullable T t10, @NonNull j jVar) {
        return new k(str, t10, jVar);
    }

    public final boolean equals(Object obj) {
        if (obj instanceof k) {
            return this.f380c.equals(((k) obj).f380c);
        }
        return false;
    }

    @Nullable
    public Object getDefaultValue() {
        return this.f378a;
    }

    public final int hashCode() {
        return this.f380c.hashCode();
    }

    public final String toString() {
        return defpackage.e.o(new StringBuilder("Option{key='"), this.f380c, "'}");
    }
}
