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 UK implements Parcelable { public static final Parcelable.Creator CREATOR = new IeS(); public final List a; public final String e; @Override // android.os.Parcelable public final int describeContents() { return 0; } public UK(String str, List list) { C14957gcv.e(list, ""); this.e = str; this.a = list; } /* loaded from: classes3.dex */ public static final class IeS implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ UK createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); String readString = parcel.readString(); int readInt = parcel.readInt(); ArrayList arrayList = new ArrayList(readInt); for (int i = 0; i != readInt; i++) { arrayList.add(UG.CREATOR.createFromParcel(parcel)); } return new UK(readString, arrayList); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ UK[] newArray(int i) { return new UK[i]; } } private /* synthetic */ UK(byte b) { this(null, C14851gaI.c); } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeString(this.e); List list = this.a; parcel.writeInt(list.size()); Iterator it = list.iterator(); while (it.hasNext()) { it.next().writeToParcel(parcel, i); } } public UK() { this((byte) 0); } }