67 lines
1.9 KiB
Java
67 lines
1.9 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 PE extends EQ implements Parcelable {
|
||
|
public static final Parcelable.Creator<PE> CREATOR = new IeS();
|
||
|
public final List<PB> b;
|
||
|
|
||
|
private /* synthetic */ PE(byte b) {
|
||
|
this((List<PB>) null);
|
||
|
}
|
||
|
|
||
|
public PE(List<PB> list) {
|
||
|
this.b = list;
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class IeS implements Parcelable.Creator<PE> {
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ PE createFromParcel(Parcel parcel) {
|
||
|
ArrayList arrayList;
|
||
|
C14957gcv.e(parcel, "");
|
||
|
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(PB.CREATOR.createFromParcel(parcel));
|
||
|
}
|
||
|
arrayList = arrayList2;
|
||
|
}
|
||
|
return new PE(arrayList);
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* bridge */ /* synthetic */ PE[] newArray(int i) {
|
||
|
return new PE[i];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.EQ, android.os.Parcelable
|
||
|
public final void writeToParcel(Parcel parcel, int i) {
|
||
|
C14957gcv.e(parcel, "");
|
||
|
List<PB> list = this.b;
|
||
|
if (list == null) {
|
||
|
parcel.writeInt(0);
|
||
|
return;
|
||
|
}
|
||
|
parcel.writeInt(1);
|
||
|
parcel.writeInt(list.size());
|
||
|
Iterator<PB> it = list.iterator();
|
||
|
while (it.hasNext()) {
|
||
|
it.next().writeToParcel(parcel, i);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public PE() {
|
||
|
this((byte) 0);
|
||
|
}
|
||
|
}
|