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

115 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.Vl, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C1093Vl implements Parcelable {
public static final Parcelable.Creator<C1093Vl> CREATOR = new Sts();
public final String a;
public final boolean b;
public final List<C1089Vj> c;
public final int d;
private final int e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C1093Vl(int i, boolean z, String str, int i2, List<C1089Vj> list) {
C14957gcv.e(str, "");
C14957gcv.e(list, "");
this.d = i;
this.b = z;
this.a = str;
this.e = i2;
this.c = list;
}
/* renamed from: o.Vl$Sts */
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<C1093Vl> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C1093Vl createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
boolean z = parcel.readInt() != 0;
String readString = parcel.readString();
int readInt2 = parcel.readInt();
int readInt3 = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt3);
for (int i = 0; i != readInt3; i++) {
arrayList.add(C1089Vj.CREATOR.createFromParcel(parcel));
}
return new C1093Vl(readInt, z, readString, readInt2, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C1093Vl[] newArray(int i) {
return new C1093Vl[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.d);
parcel.writeInt(this.b ? 1 : 0);
parcel.writeString(this.a);
parcel.writeInt(this.e);
List<C1089Vj> list = this.c;
parcel.writeInt(list.size());
Iterator<C1089Vj> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
int i = this.d;
boolean z = this.b;
String str = this.a;
int i2 = this.e;
List<C1089Vj> list = this.c;
StringBuilder sb = new StringBuilder("HistoryDisplay(totalCount=");
sb.append(i);
sb.append(", endOfListFlag=");
sb.append(z);
sb.append(", remark=");
sb.append(str);
sb.append(", pagingOffset=");
sb.append(i2);
sb.append(", transactions=");
sb.append(list);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
public final int hashCode() {
int hashCode = Integer.hashCode(this.d);
boolean z = this.b;
int i = z;
if (z != 0) {
i = 1;
}
return (((((((hashCode * 31) + i) * 31) + this.a.hashCode()) * 31) + Integer.hashCode(this.e)) * 31) + this.c.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C1093Vl)) {
return false;
}
C1093Vl c1093Vl = (C1093Vl) obj;
return this.d == c1093Vl.d && this.b == c1093Vl.b && C14957gcv.b((Object) this.a, (Object) c1093Vl.a) && this.e == c1093Vl.e && C14957gcv.b(this.c, c1093Vl.c);
}
}