package d.e.a;

import java.util.Objects;

/* JADX INFO: compiled from: TemplateContext.java */
/* JADX INFO: loaded from: classes.dex */
public final class r {
    public final String a;

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

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

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final int f2511d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final boolean f2512e;

    public r(String str, String str2, String str3, int i2, boolean z) {
        this.a = str;
        this.f2509b = str2;
        this.f2510c = str3;
        this.f2511d = i2;
        this.f2512e = z;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || r.class != obj.getClass()) {
            return false;
        }
        r rVar = (r) obj;
        return this.f2511d == rVar.f2511d && Objects.equals(this.f2509b, rVar.f2509b) && Objects.equals(this.f2510c, rVar.f2510c) && Objects.equals(this.a, rVar.a);
    }

    public int hashCode() {
        String str = this.a;
        int iHashCode = (str != null ? str.hashCode() : 0) * 31;
        String str2 = this.f2509b;
        int iHashCode2 = (iHashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
        String str3 = this.f2510c;
        return ((iHashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31) + this.f2511d;
    }

    public String toString() {
        StringBuilder sbB = d.b.a.a.a.B("[");
        sbB.append(this.f2510c);
        sbB.append(":");
        return d.b.a.a.a.s(sbB, this.f2511d, "]");
    }
}
