package o; import android.os.Parcel; import android.os.Parcelable; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /* renamed from: o.Ps, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C0842Ps implements Parcelable { public static final Parcelable.Creator CREATOR = new RVV(); public boolean a; public final String b; public final List c; public final String d; @Override // android.os.Parcelable public final int describeContents() { return 0; } public C0842Ps(String str, String str2, List list) { C14957gcv.e(str, ""); C14957gcv.e(str2, ""); this.b = str; this.d = str2; this.c = list; } /* renamed from: o.Ps$RVV */ /* loaded from: classes3.dex */ public static final class RVV implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ C0842Ps createFromParcel(Parcel parcel) { ArrayList arrayList; C14957gcv.e(parcel, ""); String readString = parcel.readString(); String readString2 = parcel.readString(); if (parcel.readInt() == 0) { arrayList = null; } else { int readInt = parcel.readInt(); ArrayList arrayList2 = new ArrayList(readInt); for (int i = 0; i != readInt; i++) { arrayList2.add(C0843Pt.CREATOR.createFromParcel(parcel)); } arrayList = arrayList2; } return new C0842Ps(readString, readString2, arrayList); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ C0842Ps[] newArray(int i) { return new C0842Ps[i]; } } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeString(this.b); parcel.writeString(this.d); List list = this.c; if (list == null) { parcel.writeInt(0); return; } parcel.writeInt(1); parcel.writeInt(list.size()); Iterator it = list.iterator(); while (it.hasNext()) { it.next().writeToParcel(parcel, i); } } public final String toString() { String str = this.b; String str2 = this.d; List list = this.c; StringBuilder sb = new StringBuilder("TopDisplay(title="); sb.append(str); sb.append(", remark="); sb.append(str2); sb.append(", items="); sb.append(list); sb.append(")"); return sb.toString(); } public final int hashCode() { int hashCode = this.b.hashCode(); int hashCode2 = this.d.hashCode(); List list = this.c; return (((hashCode * 31) + hashCode2) * 31) + (list == null ? 0 : list.hashCode()); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof C0842Ps)) { return false; } C0842Ps c0842Ps = (C0842Ps) obj; return C14957gcv.b((Object) this.b, (Object) c0842Ps.b) && C14957gcv.b((Object) this.d, (Object) c0842Ps.d) && C14957gcv.b(this.c, c0842Ps.c); } }