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

93 lines
2.9 KiB
Java
Raw Permalink 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.Hn, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0479Hn implements Parcelable {
public static final Parcelable.Creator<C0479Hn> CREATOR = new RVV();
private final int c;
public final C0478Hm d;
public final List<C0484Hp> e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0479Hn(int i, List<C0484Hp> list, C0478Hm c0478Hm) {
C14957gcv.e(list, "");
C14957gcv.e(c0478Hm, "");
this.c = i;
this.e = list;
this.d = c0478Hm;
}
/* renamed from: o.Hn$RVV */
/* loaded from: classes3.dex */
public static final class RVV implements Parcelable.Creator<C0479Hn> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0479Hn createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
int readInt2 = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt2);
for (int i = 0; i != readInt2; i++) {
arrayList.add(C0484Hp.CREATOR.createFromParcel(parcel));
}
return new C0479Hn(readInt, arrayList, C0478Hm.CREATOR.createFromParcel(parcel));
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0479Hn[] newArray(int i) {
return new C0479Hn[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.c);
List<C0484Hp> list = this.e;
parcel.writeInt(list.size());
Iterator<C0484Hp> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
this.d.writeToParcel(parcel, i);
}
public final String toString() {
int i = this.c;
List<C0484Hp> list = this.e;
C0478Hm c0478Hm = this.d;
StringBuilder sb = new StringBuilder("ECouponTransactionDisplay(numOfTransaction=");
sb.append(i);
sb.append(", transactions=");
sb.append(list);
sb.append(", pagination=");
sb.append(c0478Hm);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (((Integer.hashCode(this.c) * 31) + this.e.hashCode()) * 31) + this.d.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0479Hn)) {
return false;
}
C0479Hn c0479Hn = (C0479Hn) obj;
return this.c == c0479Hn.c && C14957gcv.b(this.e, c0479Hn.e) && C14957gcv.b(this.d, c0479Hn.d);
}
}