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

142 lines
4.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;
/* loaded from: classes3.dex */
public final class ND implements Parcelable {
public static final Parcelable.Creator<ND> CREATOR = new HBt();
public final List<NU> a;
public final String b;
public final String c;
public final List<InterfaceC0755Nw> d;
public final String e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
/* JADX WARN: Multi-variable type inference failed */
public ND(String str, String str2, List<? extends InterfaceC0755Nw> list, List<NU> list2, String str3) {
C14957gcv.e(str2, "");
this.e = str;
this.c = str2;
this.d = list;
this.a = list2;
this.b = str3;
}
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<ND> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ ND createFromParcel(Parcel parcel) {
ArrayList arrayList;
C14957gcv.e(parcel, "");
String readString = parcel.readString();
String readString2 = parcel.readString();
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(parcel.readParcelable(ND.class.getClassLoader()));
}
}
ArrayList arrayList3 = arrayList;
if (parcel.readInt() != 0) {
int readInt2 = parcel.readInt();
ArrayList arrayList4 = new ArrayList(readInt2);
for (int i2 = 0; i2 != readInt2; i2++) {
arrayList4.add(parcel.readParcelable(ND.class.getClassLoader()));
}
arrayList2 = arrayList4;
}
return new ND(readString, readString2, arrayList3, arrayList2, parcel.readString());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ ND[] newArray(int i) {
return new ND[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.e);
parcel.writeString(this.c);
List<InterfaceC0755Nw> list = this.d;
if (list == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeInt(list.size());
Iterator<InterfaceC0755Nw> it = list.iterator();
while (it.hasNext()) {
parcel.writeParcelable(it.next(), i);
}
}
List<NU> list2 = this.a;
if (list2 == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeInt(list2.size());
Iterator<NU> it2 = list2.iterator();
while (it2.hasNext()) {
parcel.writeParcelable(it2.next(), i);
}
}
parcel.writeString(this.b);
}
public final String toString() {
String str = this.e;
String str2 = this.c;
List<InterfaceC0755Nw> list = this.d;
List<NU> list2 = this.a;
String str3 = this.b;
StringBuilder sb = new StringBuilder("HmlOutcomeCounterDisplay(date=");
sb.append(str);
sb.append(", hourRemark=");
sb.append(str2);
sb.append(", offersList=");
sb.append(list);
sb.append(", offerDetailsList=");
sb.append(list2);
sb.append(", headerBackground=");
sb.append(str3);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
String str = this.e;
int hashCode = str == null ? 0 : str.hashCode();
int hashCode2 = this.c.hashCode();
List<InterfaceC0755Nw> list = this.d;
int hashCode3 = list == null ? 0 : list.hashCode();
List<NU> list2 = this.a;
int hashCode4 = list2 == null ? 0 : list2.hashCode();
String str2 = this.b;
return (((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + (str2 != null ? str2.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ND)) {
return false;
}
ND nd = (ND) obj;
return C14957gcv.b((Object) this.e, (Object) nd.e) && C14957gcv.b((Object) this.c, (Object) nd.c) && C14957gcv.b(this.d, nd.d) && C14957gcv.b(this.a, nd.a) && C14957gcv.b((Object) this.b, (Object) nd.b);
}
}