package o; import android.os.Parcel; import android.os.Parcelable; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /* loaded from: classes3.dex */ public final class OZ implements Comparable, Parcelable { public static final Parcelable.Creator CREATOR = new HBt(); public int a; public String b; public int c; public RVV d; public List e; private boolean f; /* loaded from: classes3.dex */ public enum RVV { CHECKBOX, RADIO } @Override // android.os.Parcelable public final int describeContents() { return 0; } public OZ(int i, int i2, String str, boolean z, RVV rvv, List list) { C14957gcv.e(str, ""); C14957gcv.e(rvv, ""); C14957gcv.e(list, ""); this.a = i; this.c = i2; this.b = str; this.f = z; this.d = rvv; this.e = list; } @Override // java.lang.Comparable public final /* synthetic */ int compareTo(OZ oz) { OZ oz2 = oz; C14957gcv.e(oz2, ""); return C14957gcv.a(this.c, oz2.c); } /* loaded from: classes3.dex */ public static final class HBt implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ OZ createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); int readInt = parcel.readInt(); int readInt2 = parcel.readInt(); String readString = parcel.readString(); boolean z = parcel.readInt() != 0; RVV valueOf = RVV.valueOf(parcel.readString()); int readInt3 = parcel.readInt(); ArrayList arrayList = new ArrayList(readInt3); for (int i = 0; i != readInt3; i++) { arrayList.add(OW.CREATOR.createFromParcel(parcel)); } return new OZ(readInt, readInt2, readString, z, valueOf, arrayList); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ OZ[] newArray(int i) { return new OZ[i]; } } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeInt(this.a); parcel.writeInt(this.c); parcel.writeString(this.b); parcel.writeInt(this.f ? 1 : 0); parcel.writeString(this.d.name()); List list = this.e; parcel.writeInt(list.size()); Iterator it = list.iterator(); while (it.hasNext()) { it.next().writeToParcel(parcel, i); } } public final String toString() { int i = this.a; int i2 = this.c; String str = this.b; boolean z = this.f; RVV rvv = this.d; List list = this.e; StringBuilder sb = new StringBuilder("InvestmentRiskAssessmentQuestionDisplay(section="); sb.append(i); sb.append(", questionNumber="); sb.append(i2); sb.append(", question="); sb.append(str); sb.append(", isDisplay="); sb.append(z); sb.append(", buttonType="); sb.append(rvv); sb.append(", answers="); sb.append(list); sb.append(")"); return sb.toString(); } /* JADX WARN: Multi-variable type inference failed */ public final int hashCode() { int hashCode = Integer.hashCode(this.a); int hashCode2 = Integer.hashCode(this.c); int hashCode3 = this.b.hashCode(); boolean z = this.f; int i = z; if (z != 0) { i = 1; } return (((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + i) * 31) + this.d.hashCode()) * 31) + this.e.hashCode(); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof OZ)) { return false; } OZ oz = (OZ) obj; return this.a == oz.a && this.c == oz.c && C14957gcv.b((Object) this.b, (Object) oz.b) && this.f == oz.f && this.d == oz.d && C14957gcv.b(this.e, oz.e); } }