package o; import android.graphics.RectF; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.util.Arrays; /* loaded from: classes2.dex */ public final class ECf implements kdE { private final float b; private final kdE e; public ECf(float f, kdE kde) { while (kde instanceof ECf) { kde = ((ECf) kde).e; f += ((ECf) kde).b; } this.e = kde; this.b = f; } @Override // o.kdE public final float Lk_(RectF rectF) { return Math.max(BitmapDescriptorFactory.HUE_RED, this.e.Lk_(rectF) + this.b); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof ECf)) { return false; } ECf eCf = (ECf) obj; return this.e.equals(eCf.e) && this.b == eCf.b; } public final int hashCode() { return Arrays.hashCode(new Object[]{this.e, Float.valueOf(this.b)}); } }