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

103 lines
3.4 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 MN extends EQ implements Parcelable {
public static final Parcelable.Creator<MN> CREATOR = new HBt();
public final String a;
public final List<MM> b;
public final String c;
public final String d;
private final int i;
public MN(String str, String str2, String str3, int i, List<MM> list) {
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(list, "");
this.d = str;
this.c = str2;
this.a = str3;
this.i = i;
this.b = list;
}
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<MN> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ MN createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
String readString = parcel.readString();
String readString2 = parcel.readString();
String readString3 = parcel.readString();
int readInt = parcel.readInt();
int readInt2 = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt2);
for (int i = 0; i != readInt2; i++) {
arrayList.add(MM.CREATOR.createFromParcel(parcel));
}
return new MN(readString, readString2, readString3, readInt, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ MN[] newArray(int i) {
return new MN[i];
}
}
@Override // o.EQ, android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.d);
parcel.writeString(this.c);
parcel.writeString(this.a);
parcel.writeInt(this.i);
List<MM> list = this.b;
parcel.writeInt(list.size());
Iterator<MM> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
String str = this.d;
String str2 = this.c;
String str3 = this.a;
int i = this.i;
List<MM> list = this.b;
StringBuilder sb = new StringBuilder("ProductShelfTabItemDisplay(tabId=");
sb.append(str);
sb.append(", tabName=");
sb.append(str2);
sb.append(", displayName=");
sb.append(str3);
sb.append(", itemCount=");
sb.append(i);
sb.append(", productList=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
String str = this.d;
return ((((((((str == null ? 0 : str.hashCode()) * 31) + this.c.hashCode()) * 31) + this.a.hashCode()) * 31) + Integer.hashCode(this.i)) * 31) + this.b.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof MN)) {
return false;
}
MN mn = (MN) obj;
return C14957gcv.b((Object) this.d, (Object) mn.d) && C14957gcv.b((Object) this.c, (Object) mn.c) && C14957gcv.b((Object) this.a, (Object) mn.a) && this.i == mn.i && C14957gcv.b(this.b, mn.b);
}
}