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.Ra, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C0902Ra implements Parcelable { public static final Parcelable.Creator CREATOR = new HBt(); private final boolean b; public final List e; @Override // android.os.Parcelable public final int describeContents() { return 0; } public C0902Ra(boolean z, List list) { C14957gcv.e(list, ""); this.b = z; this.e = list; } /* renamed from: o.Ra$HBt */ /* loaded from: classes3.dex */ public static final class HBt implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ C0902Ra createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); boolean z = parcel.readInt() != 0; int readInt = parcel.readInt(); ArrayList arrayList = new ArrayList(readInt); for (int i = 0; i != readInt; i++) { arrayList.add(QT.CREATOR.createFromParcel(parcel)); } return new C0902Ra(z, arrayList); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ C0902Ra[] newArray(int i) { return new C0902Ra[i]; } } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeInt(this.b ? 1 : 0); List list = this.e; parcel.writeInt(list.size()); Iterator it = list.iterator(); while (it.hasNext()) { it.next().writeToParcel(parcel, i); } } public final String toString() { boolean z = this.b; List list = this.e; StringBuilder sb = new StringBuilder("JustForYouInsightHeaderResponseDisplay(isCaching="); sb.append(z); sb.append(", insightList="); sb.append(list); 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: r0v4 */ /* JADX WARN: Type inference failed for: r0v5 */ public final int hashCode() { boolean z = this.b; ?? r0 = z; if (z) { r0 = 1; } return (r0 * 31) + this.e.hashCode(); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof C0902Ra)) { return false; } C0902Ra c0902Ra = (C0902Ra) obj; return this.b == c0902Ra.b && C14957gcv.b(this.e, c0902Ra.e); } }