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

88 lines
2.7 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;
/* loaded from: classes3.dex */
public final class UE extends EQ implements Parcelable {
public static final Parcelable.Creator<UE> CREATOR = new HBt();
public final List<UA> b;
public final String c;
public final UC d;
public UE(String str, UC uc, List<UA> list) {
C14957gcv.e(str, "");
C14957gcv.e(uc, "");
C14957gcv.e(list, "");
this.c = str;
this.d = uc;
this.b = list;
}
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<UE> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ UE createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
String readString = parcel.readString();
UC createFromParcel = UC.CREATOR.createFromParcel(parcel);
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(UA.CREATOR.createFromParcel(parcel));
}
return new UE(readString, createFromParcel, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ UE[] newArray(int i) {
return new UE[i];
}
}
@Override // o.EQ, android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.c);
this.d.writeToParcel(parcel, i);
List<UA> list = this.b;
parcel.writeInt(list.size());
Iterator<UA> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
String str = this.c;
UC uc = this.d;
List<UA> list = this.b;
StringBuilder sb = new StringBuilder("PrepaidTravelWalletSummaryDisplay(cardRefNo=");
sb.append(str);
sb.append(", card=");
sb.append(uc);
sb.append(", wallet=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (((this.c.hashCode() * 31) + this.d.hashCode()) * 31) + this.b.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof UE)) {
return false;
}
UE ue = (UE) obj;
return C14957gcv.b((Object) this.c, (Object) ue.c) && C14957gcv.b(this.d, ue.d) && C14957gcv.b(this.b, ue.b);
}
}