package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class OA implements Comparable {
    public static final OA m;
    public static final OA n;

    /* renamed from: o, reason: collision with root package name */
    public static final OA f264o;
    public static final OA p;
    public static final OA q;
    public static final OA r;
    public final int l;

    static {
        OA oa = new OA(100);
        OA oa2 = new OA(200);
        OA oa3 = new OA(300);
        OA oa4 = new OA(400);
        OA oa5 = new OA(500);
        OA oa6 = new OA(600);
        m = oa6;
        OA oa7 = new OA(700);
        OA oa8 = new OA(800);
        OA oa9 = new OA(900);
        n = oa4;
        f264o = oa5;
        p = oa6;
        q = oa7;
        r = oa8;
        AbstractC0008Ai.S(oa, oa2, oa3, oa4, oa5, oa6, oa7, oa8, oa9);
    }

    public OA(int i) {
        this.l = i;
        boolean z = false;
        if (1 <= i && i < 1001) {
            z = true;
        }
        if (z) {
            return;
        }
        AbstractC2228qH.a("Font weight can be in range [1, 1000]. Current value: " + i);
    }

    @Override // java.lang.Comparable
    public final int compareTo(Object obj) {
        return F3.m(this.l, ((OA) obj).l);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof OA) {
            return this.l == ((OA) obj).l;
        }
        return false;
    }

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

    public final String toString() {
        return AbstractC2462sn.m(new StringBuilder("FontWeight(weight="), this.l, ')');
    }
}
