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

124 lines
3.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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.Mo, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0700Mo implements Parcelable {
public static final Parcelable.Creator<C0700Mo> CREATOR = new LWm();
public List<C0698Mn> a;
public List<C0715My> c;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0700Mo(List<C0698Mn> list, List<C0715My> list2) {
this.a = list;
this.c = list2;
}
private /* synthetic */ C0700Mo(byte b) {
this(null, null);
}
/* renamed from: o.Mo$LWm */
/* loaded from: classes3.dex */
public static final class LWm implements Parcelable.Creator<C0700Mo> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0700Mo createFromParcel(Parcel parcel) {
ArrayList arrayList;
C14957gcv.e(parcel, "");
ArrayList arrayList2 = null;
if (parcel.readInt() == 0) {
arrayList = null;
} else {
int readInt = parcel.readInt();
arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(C0698Mn.CREATOR.createFromParcel(parcel));
}
}
ArrayList arrayList3 = arrayList;
if (parcel.readInt() != 0) {
int readInt2 = parcel.readInt();
arrayList2 = new ArrayList(readInt2);
for (int i2 = 0; i2 != readInt2; i2++) {
arrayList2.add(C0715My.CREATOR.createFromParcel(parcel));
}
}
return new C0700Mo(arrayList3, arrayList2);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0700Mo[] newArray(int i) {
return new C0700Mo[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
List<C0698Mn> list = this.a;
if (list == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeInt(list.size());
Iterator<C0698Mn> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
List<C0715My> list2 = this.c;
if (list2 == null) {
parcel.writeInt(0);
return;
}
parcel.writeInt(1);
parcel.writeInt(list2.size());
Iterator<C0715My> it2 = list2.iterator();
while (it2.hasNext()) {
it2.next().writeToParcel(parcel, i);
}
}
public final String toString() {
List<C0698Mn> list = this.a;
List<C0715My> list2 = this.c;
StringBuilder sb = new StringBuilder("DepositProductInfoDisplay(accountDisplayList=");
sb.append(list);
sb.append(", productList=");
sb.append(list2);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
List<C0698Mn> list = this.a;
int hashCode = list == null ? 0 : list.hashCode();
List<C0715My> list2 = this.c;
return (hashCode * 31) + (list2 != null ? list2.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0700Mo)) {
return false;
}
C0700Mo c0700Mo = (C0700Mo) obj;
return C14957gcv.b(this.a, c0700Mo.a) && C14957gcv.b(this.c, c0700Mo.c);
}
public C0700Mo() {
this((byte) 0);
}
}