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

86 lines
2.7 KiB
Java

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.Pl, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0833Pl implements Parcelable {
public static final Parcelable.Creator<C0833Pl> CREATOR = new Sts();
public String a;
public List<String> b;
public String d;
public List<C0844Pu> e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0833Pl(String str, String str2, List<String> list, List<C0844Pu> list2) {
this.a = str;
this.d = str2;
this.b = list;
this.e = list2;
}
private /* synthetic */ C0833Pl(byte b) {
this("", "", new ArrayList(), C14851gaI.c);
}
/* renamed from: o.Pl$Sts */
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<C0833Pl> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0833Pl createFromParcel(Parcel parcel) {
ArrayList arrayList;
C14957gcv.e(parcel, "");
String readString = parcel.readString();
String readString2 = parcel.readString();
ArrayList<String> createStringArrayList = parcel.createStringArrayList();
if (parcel.readInt() == 0) {
arrayList = null;
} else {
int readInt = parcel.readInt();
ArrayList arrayList2 = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList2.add(C0844Pu.CREATOR.createFromParcel(parcel));
}
arrayList = arrayList2;
}
return new C0833Pl(readString, readString2, createStringArrayList, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0833Pl[] newArray(int i) {
return new C0833Pl[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.a);
parcel.writeString(this.d);
parcel.writeStringList(this.b);
List<C0844Pu> list = this.e;
if (list == null) {
parcel.writeInt(0);
return;
}
parcel.writeInt(1);
parcel.writeInt(list.size());
Iterator<C0844Pu> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public C0833Pl() {
this((byte) 0);
}
}