package o; import android.os.Parcel; import android.os.Parcelable; import java.util.ArrayList; import java.util.Iterator; /* renamed from: o.Ih, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C0511Ih implements Parcelable { public static final Parcelable.Creator CREATOR = new RVV(); public final ArrayList b; public final String c; public final String d; public final String e; @Override // android.os.Parcelable public final int describeContents() { return 0; } public C0511Ih(String str, String str2, String str3, ArrayList arrayList) { C14957gcv.e(str2, ""); C14957gcv.e(str3, ""); C14957gcv.e(arrayList, ""); this.c = str; this.e = str2; this.d = str3; this.b = arrayList; } /* renamed from: o.Ih$RVV */ /* loaded from: classes3.dex */ public static final class RVV implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ C0511Ih createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); String readString = parcel.readString(); String readString2 = parcel.readString(); String readString3 = parcel.readString(); int readInt = parcel.readInt(); ArrayList arrayList = new ArrayList(readInt); for (int i = 0; i != readInt; i++) { arrayList.add(C0520Io.CREATOR.createFromParcel(parcel)); } return new C0511Ih(readString, readString2, readString3, arrayList); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ C0511Ih[] newArray(int i) { return new C0511Ih[i]; } } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeString(this.c); parcel.writeString(this.e); parcel.writeString(this.d); ArrayList arrayList = this.b; parcel.writeInt(arrayList.size()); Iterator it = arrayList.iterator(); while (it.hasNext()) { it.next().writeToParcel(parcel, i); } } public final String toString() { String str = this.c; String str2 = this.e; String str3 = this.d; ArrayList arrayList = this.b; StringBuilder sb = new StringBuilder("CommonInputFilterData(header="); sb.append(str); sb.append(", hintMessage="); sb.append(str2); sb.append(", errorMessage="); sb.append(str3); sb.append(", listDisplay="); sb.append(arrayList); sb.append(")"); return sb.toString(); } public final int hashCode() { String str = this.c; return ((((((str == null ? 0 : str.hashCode()) * 31) + this.e.hashCode()) * 31) + this.d.hashCode()) * 31) + this.b.hashCode(); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof C0511Ih)) { return false; } C0511Ih c0511Ih = (C0511Ih) obj; return C14957gcv.b((Object) this.c, (Object) c0511Ih.c) && C14957gcv.b((Object) this.e, (Object) c0511Ih.e) && C14957gcv.b((Object) this.d, (Object) c0511Ih.d) && C14957gcv.b(this.b, c0511Ih.b); } }