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

116 lines
3.6 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.It, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0527It implements Parcelable {
public static final Parcelable.Creator<C0527It> CREATOR = new LWm();
private C0521Ip b;
private C0517Il c;
private List<C0516Ik> e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0527It(C0521Ip c0521Ip, C0517Il c0517Il, List<C0516Ik> list) {
C14957gcv.e(list, "");
this.b = c0521Ip;
this.c = c0517Il;
this.e = list;
}
public C0527It() {
this((byte) 0);
}
/* renamed from: o.It$LWm */
/* loaded from: classes3.dex */
public static final class LWm implements Parcelable.Creator<C0527It> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0527It createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
C0521Ip createFromParcel = parcel.readInt() == 0 ? null : C0521Ip.CREATOR.createFromParcel(parcel);
C0517Il createFromParcel2 = parcel.readInt() != 0 ? C0517Il.CREATOR.createFromParcel(parcel) : null;
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(C0516Ik.CREATOR.createFromParcel(parcel));
}
return new C0527It(createFromParcel, createFromParcel2, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0527It[] newArray(int i) {
return new C0527It[i];
}
}
private /* synthetic */ C0527It(byte b) {
this(null, null, C14851gaI.c);
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
C0521Ip c0521Ip = this.b;
if (c0521Ip == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
c0521Ip.writeToParcel(parcel, i);
}
C0517Il c0517Il = this.c;
if (c0517Il == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
c0517Il.writeToParcel(parcel, i);
}
List<C0516Ik> list = this.e;
parcel.writeInt(list.size());
Iterator<C0516Ik> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
C0521Ip c0521Ip = this.b;
C0517Il c0517Il = this.c;
List<C0516Ik> list = this.e;
StringBuilder sb = new StringBuilder("ThirdPartySlipDisplay(header=");
sb.append(c0521Ip);
sb.append(", footer=");
sb.append(c0517Il);
sb.append(", body=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
C0521Ip c0521Ip = this.b;
int hashCode = c0521Ip == null ? 0 : c0521Ip.hashCode();
C0517Il c0517Il = this.c;
return (((hashCode * 31) + (c0517Il != null ? c0517Il.hashCode() : 0)) * 31) + this.e.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0527It)) {
return false;
}
C0527It c0527It = (C0527It) obj;
return C14957gcv.b(this.b, c0527It.b) && C14957gcv.b(this.c, c0527It.c) && C14957gcv.b(this.e, c0527It.e);
}
}