what-the-bank/sources/o/UK.java

66 lines
1.8 KiB
Java

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<UK> CREATOR = new IeS();
public final List<UG> a;
public final String e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public UK(String str, List<UG> list) {
C14957gcv.e(list, "");
this.e = str;
this.a = list;
}
/* loaded from: classes3.dex */
public static final class IeS implements Parcelable.Creator<UK> {
@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<UG> list = this.a;
parcel.writeInt(list.size());
Iterator<UG> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public UK() {
this((byte) 0);
}
}