what-the-bank/sources/o/C0559Jj.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.Jj, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0559Jj implements Parcelable {
public static final Parcelable.Creator<C0559Jj> CREATOR = new Sts();
public List<C0562Jl> b;
public String e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0559Jj(String str, List<C0562Jl> list) {
C14957gcv.e(str, "");
C14957gcv.e(list, "");
this.e = str;
this.b = list;
}
/* renamed from: o.Jj$Sts */
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<C0559Jj> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0559Jj 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(C0562Jl.CREATOR.createFromParcel(parcel));
}
return new C0559Jj(readString, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0559Jj[] newArray(int i) {
return new C0559Jj[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.e);
List<C0562Jl> list = this.b;
parcel.writeInt(list.size());
Iterator<C0562Jl> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
String str = this.e;
List<C0562Jl> list = this.b;
StringBuilder sb = new StringBuilder("DebitCardBenefitInfoDisplay(title=");
sb.append(str);
sb.append(", debitCardsBenefitListDisplay=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (this.e.hashCode() * 31) + this.b.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0559Jj)) {
return false;
}
C0559Jj c0559Jj = (C0559Jj) obj;
return C14957gcv.b((Object) this.e, (Object) c0559Jj.e) && C14957gcv.b(this.b, c0559Jj.b);
}
}