71 lines
2.2 KiB
Java
71 lines
2.2 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.Pk, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C0831Pk implements Parcelable {
|
|
public static final Parcelable.Creator<C0831Pk> CREATOR = new IeS();
|
|
public List<C0844Pu> a;
|
|
public String b;
|
|
|
|
@Override // android.os.Parcelable
|
|
public final int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public C0831Pk(String str, List<C0844Pu> list) {
|
|
C14957gcv.e(str, "");
|
|
this.b = str;
|
|
this.a = list;
|
|
}
|
|
|
|
/* renamed from: o.Pk$IeS */
|
|
/* loaded from: classes3.dex */
|
|
public static final class IeS implements Parcelable.Creator<C0831Pk> {
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ C0831Pk createFromParcel(Parcel parcel) {
|
|
ArrayList arrayList;
|
|
C14957gcv.e(parcel, "");
|
|
String readString = parcel.readString();
|
|
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 C0831Pk(readString, arrayList);
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* bridge */ /* synthetic */ C0831Pk[] newArray(int i) {
|
|
return new C0831Pk[i];
|
|
}
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public final void writeToParcel(Parcel parcel, int i) {
|
|
C14957gcv.e(parcel, "");
|
|
parcel.writeString(this.b);
|
|
List<C0844Pu> list = this.a;
|
|
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);
|
|
}
|
|
}
|
|
}
|