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

87 lines
2.6 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 LZ extends EQ {
public static final Parcelable.Creator<LZ> CREATOR = new RVV();
public final List<LS> a;
public final int b;
public final String c;
public LZ(int i, String str, List<LS> list) {
C14957gcv.e(str, "");
C14957gcv.e(list, "");
this.b = i;
this.c = str;
this.a = list;
}
/* loaded from: classes3.dex */
public static final class RVV implements Parcelable.Creator<LZ> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ LZ createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
String readString = parcel.readString();
int readInt2 = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt2);
for (int i = 0; i != readInt2; i++) {
arrayList.add(LS.CREATOR.createFromParcel(parcel));
}
return new LZ(readInt, readString, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ LZ[] newArray(int i) {
return new LZ[i];
}
}
@Override // o.EQ, android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.b);
parcel.writeString(this.c);
List<LS> list = this.a;
parcel.writeInt(list.size());
Iterator<LS> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
int i = this.b;
String str = this.c;
List<LS> list = this.a;
StringBuilder sb = new StringBuilder("EasycashSalesheetHeaderDisplay(headerSequence=");
sb.append(i);
sb.append(", headerName=");
sb.append(str);
sb.append(", easycashSalesheetDisplays=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (((Integer.hashCode(this.b) * 31) + this.c.hashCode()) * 31) + this.a.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof LZ)) {
return false;
}
LZ lz = (LZ) obj;
return this.b == lz.b && C14957gcv.b((Object) this.c, (Object) lz.c) && C14957gcv.b(this.a, lz.a);
}
}