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

97 lines
3.0 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.Pd, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0819Pd implements Parcelable {
public static final Parcelable.Creator<C0819Pd> CREATOR = new HBt();
public List<OZ> c;
public final List<C0818Pc> e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0819Pd(List<OZ> list, List<C0818Pc> list2) {
C14957gcv.e(list, "");
C14957gcv.e(list2, "");
this.c = list;
this.e = list2;
}
/* renamed from: o.Pd$HBt */
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<C0819Pd> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0819Pd createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(OZ.CREATOR.createFromParcel(parcel));
}
ArrayList arrayList2 = arrayList;
int readInt2 = parcel.readInt();
ArrayList arrayList3 = new ArrayList(readInt2);
for (int i2 = 0; i2 != readInt2; i2++) {
arrayList3.add(C0818Pc.CREATOR.createFromParcel(parcel));
}
return new C0819Pd(arrayList2, arrayList3);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0819Pd[] newArray(int i) {
return new C0819Pd[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
List<OZ> list = this.c;
parcel.writeInt(list.size());
Iterator<OZ> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
List<C0818Pc> list2 = this.e;
parcel.writeInt(list2.size());
Iterator<C0818Pc> it2 = list2.iterator();
while (it2.hasNext()) {
it2.next().writeToParcel(parcel, i);
}
}
public final String toString() {
List<OZ> list = this.c;
List<C0818Pc> list2 = this.e;
StringBuilder sb = new StringBuilder("RiskQuestionnaireDisplay(assessments=");
sb.append(list);
sb.append(", summaries=");
sb.append(list2);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (this.c.hashCode() * 31) + this.e.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0819Pd)) {
return false;
}
C0819Pd c0819Pd = (C0819Pd) obj;
return C14957gcv.b(this.c, c0819Pd.c) && C14957gcv.b(this.e, c0819Pd.e);
}
}