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

85 lines
2.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Parcel;
import android.os.Parcelable;
/* loaded from: classes3.dex */
public final class OW implements Parcelable {
public static final Parcelable.Creator<OW> CREATOR = new RVV();
public String a;
public boolean b;
public int d;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public OW(boolean z, String str, int i) {
C14957gcv.e(str, "");
this.b = z;
this.a = str;
this.d = i;
}
/* loaded from: classes3.dex */
public static final class RVV implements Parcelable.Creator<OW> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ OW createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new OW(parcel.readInt() != 0, parcel.readString(), parcel.readInt());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ OW[] newArray(int i) {
return new OW[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.b ? 1 : 0);
parcel.writeString(this.a);
parcel.writeInt(this.d);
}
public final String toString() {
boolean z = this.b;
String str = this.a;
int i = this.d;
StringBuilder sb = new StringBuilder("InvestmentRiskAssessmentAnswerDisplay(isSelected=");
sb.append(z);
sb.append(", choice=");
sb.append(str);
sb.append(", score=");
sb.append(i);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v1, types: [int] */
/* JADX WARN: Type inference failed for: r0v6 */
/* JADX WARN: Type inference failed for: r0v7 */
public final int hashCode() {
boolean z = this.b;
?? r0 = z;
if (z) {
r0 = 1;
}
return (((r0 * 31) + this.a.hashCode()) * 31) + Integer.hashCode(this.d);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof OW)) {
return false;
}
OW ow = (OW) obj;
return this.b == ow.b && C14957gcv.b((Object) this.a, (Object) ow.a) && this.d == ow.d;
}
}