package q7;

import com.google.android.gms.measurement.internal.u1;

/* JADX INFO: loaded from: classes2.dex */
public final class i extends p {

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

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

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

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

    public i(int i10, int i11, double d10, boolean z10) {
        this.f32238a = i10;
        this.f32239b = i11;
        this.f32240c = d10;
        this.f32241d = z10;
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (obj instanceof p) {
            p pVar = (p) obj;
            if (this.f32238a == ((i) pVar).f32238a) {
                i iVar = (i) pVar;
                if (this.f32239b == iVar.f32239b && Double.doubleToLongBits(this.f32240c) == Double.doubleToLongBits(iVar.f32240c) && this.f32241d == iVar.f32241d) {
                    return true;
                }
            }
        }
        return false;
    }

    public final int hashCode() {
        double d10 = this.f32240c;
        return ((((int) (Double.doubleToLongBits(d10) ^ (Double.doubleToLongBits(d10) >>> 32))) ^ ((((this.f32238a ^ 1000003) * 1000003) ^ this.f32239b) * 1000003)) * 1000003) ^ (true != this.f32241d ? 1237 : 1231);
    }

    public final String toString() {
        int i10 = this.f32238a;
        int length = String.valueOf(i10).length();
        int i11 = this.f32239b;
        int length2 = String.valueOf(i11).length();
        double d10 = this.f32240c;
        int length3 = String.valueOf(d10).length();
        boolean z10 = this.f32241d;
        StringBuilder sb = new StringBuilder(length + 44 + length2 + 20 + length3 + 25 + String.valueOf(z10).length() + 1);
        u1.y(sb, "PingStrategy{maxAttempts=", i10, ", initialBackoffMs=", i11);
        sb.append(", backoffMultiplier=");
        sb.append(d10);
        sb.append(", bufferAfterMaxAttempts=");
        sb.append(z10);
        sb.append("}");
        return sb.toString();
    }
}
