package p6;

import kotlin.jvm.internal.t;
import kotlin.text.y;

/* loaded from: classes.dex */
public final class a {

    /* renamed from: a, reason: collision with root package name */
    private final String f32268a;

    public a(String name) {
        boolean C;
        t.g(name, "name");
        this.f32268a = name;
        C = y.C(name);
        if (!(!C)) {
            throw new IllegalArgumentException("AttributeKey name must not be blank".toString());
        }
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof a) && t.b(this.f32268a, ((a) obj).f32268a);
    }

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

    public String toString() {
        return "AttributeKey(" + this.f32268a + ')';
    }
}
