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