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

85 lines
2.5 KiB
Java

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 SI implements Parcelable {
public static final Parcelable.Creator<SI> CREATOR = new LWm();
public final C0981Sy b;
public final List<SH> c;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public SI(C0981Sy c0981Sy, List<SH> list) {
C14957gcv.e(c0981Sy, "");
C14957gcv.e(list, "");
this.b = c0981Sy;
this.c = list;
}
/* loaded from: classes3.dex */
public static final class LWm implements Parcelable.Creator<SI> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ SI createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
C0981Sy createFromParcel = C0981Sy.CREATOR.createFromParcel(parcel);
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(SH.CREATOR.createFromParcel(parcel));
}
return new SI(createFromParcel, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ SI[] newArray(int i) {
return new SI[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
this.b.writeToParcel(parcel, i);
List<SH> list = this.c;
parcel.writeInt(list.size());
Iterator<SH> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
C0981Sy c0981Sy = this.b;
List<SH> list = this.c;
StringBuilder sb = new StringBuilder("NdidCommonRMCustInfoDisplay(custInfo=");
sb.append(c0981Sy);
sb.append(", screenRule=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (this.b.hashCode() * 31) + this.c.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof SI)) {
return false;
}
SI si = (SI) obj;
return C14957gcv.b(this.b, si.b) && C14957gcv.b(this.c, si.c);
}
}