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

87 lines
2.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.Mw, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0713Mw implements Parcelable {
public static final Parcelable.Creator<C0713Mw> CREATOR = new Sts();
public final String c;
public final List<C0705Ms> e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0713Mw(String str, List<C0705Ms> list) {
C14957gcv.e(str, "");
C14957gcv.e(list, "");
this.c = str;
this.e = list;
}
/* renamed from: o.Mw$Sts */
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<C0713Mw> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0713Mw createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
String readString = parcel.readString();
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(C0705Ms.CREATOR.createFromParcel(parcel));
}
return new C0713Mw(readString, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0713Mw[] newArray(int i) {
return new C0713Mw[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.c);
List<C0705Ms> list = this.e;
parcel.writeInt(list.size());
Iterator<C0705Ms> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
String str = this.c;
List<C0705Ms> list = this.e;
StringBuilder sb = new StringBuilder("LongDescListDisplay(header=");
sb.append(str);
sb.append(", items=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (this.c.hashCode() * 31) + this.e.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0713Mw)) {
return false;
}
C0713Mw c0713Mw = (C0713Mw) obj;
return C14957gcv.b((Object) this.c, (Object) c0713Mw.c) && C14957gcv.b(this.e, c0713Mw.e);
}
}