what-the-bank/sources/o/C0491Hv.java

83 lines
2.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Parcel;
import android.os.Parcelable;
/* renamed from: o.Hv, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0491Hv implements Parcelable {
public static final Parcelable.Creator<C0491Hv> CREATOR = new Sts();
public double a;
public double c;
public double d;
public double e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0491Hv(double d, double d2, double d3, double d4) {
this.e = d;
this.a = d2;
this.c = d3;
this.d = d4;
}
/* renamed from: o.Hv$Sts */
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<C0491Hv> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0491Hv createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new C0491Hv(parcel.readDouble(), parcel.readDouble(), parcel.readDouble(), parcel.readDouble());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0491Hv[] newArray(int i) {
return new C0491Hv[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeDouble(this.e);
parcel.writeDouble(this.a);
parcel.writeDouble(this.c);
parcel.writeDouble(this.d);
}
public final String toString() {
double d = this.e;
double d2 = this.a;
double d3 = this.c;
double d4 = this.d;
StringBuilder sb = new StringBuilder("QuantityDisplay(minAmount=");
sb.append(d);
sb.append(", maxAmount=");
sb.append(d2);
sb.append(", stepAmount=");
sb.append(d3);
sb.append(", actualAmount=");
sb.append(d4);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (((((Double.hashCode(this.e) * 31) + Double.hashCode(this.a)) * 31) + Double.hashCode(this.c)) * 31) + Double.hashCode(this.d);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0491Hv)) {
return false;
}
C0491Hv c0491Hv = (C0491Hv) obj;
return Double.compare(this.e, c0491Hv.e) == 0 && Double.compare(this.a, c0491Hv.a) == 0 && Double.compare(this.c, c0491Hv.c) == 0 && Double.compare(this.d, c0491Hv.d) == 0;
}
}