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 MI extends EQ implements Parcelable { public static final Parcelable.Creator CREATOR = new LWm(); public final List c; public MI(List list) { C14957gcv.e(list, ""); this.c = list; } /* loaded from: classes3.dex */ public static final class LWm implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ MI createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); int readInt = parcel.readInt(); ArrayList arrayList = new ArrayList(readInt); for (int i = 0; i != readInt; i++) { arrayList.add(MN.CREATOR.createFromParcel(parcel)); } return new MI(arrayList); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ MI[] newArray(int i) { return new MI[i]; } } @Override // o.EQ, android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); List list = this.c; parcel.writeInt(list.size()); Iterator it = list.iterator(); while (it.hasNext()) { it.next().writeToParcel(parcel, i); } } public final String toString() { List list = this.c; StringBuilder sb = new StringBuilder("ProductShelfTabDisplay(productShelfTabDisplayList="); sb.append(list); sb.append(")"); return sb.toString(); } public final int hashCode() { return this.c.hashCode(); } public final boolean equals(Object obj) { if (this == obj) { return true; } return (obj instanceof MI) && C14957gcv.b(this.c, ((MI) obj).c); } }