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

127 lines
4.2 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.Vs, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C1104Vs implements Parcelable {
public static final Parcelable.Creator<C1104Vs> CREATOR = new Sts();
public final List<String> a;
public final List<VE> c;
public final boolean d;
public final String e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C1104Vs(boolean z, List<String> list, List<VE> list2, String str) {
this.d = z;
this.a = list;
this.c = list2;
this.e = str;
}
/* renamed from: o.Vs$Sts */
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<C1104Vs> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C1104Vs createFromParcel(Parcel parcel) {
ArrayList arrayList;
C14957gcv.e(parcel, "");
boolean z = parcel.readInt() != 0;
ArrayList<String> createStringArrayList = parcel.createStringArrayList();
if (parcel.readInt() == 0) {
arrayList = null;
} else {
int readInt = parcel.readInt();
ArrayList arrayList2 = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList2.add(VE.CREATOR.createFromParcel(parcel));
}
arrayList = arrayList2;
}
return new C1104Vs(z, createStringArrayList, arrayList, parcel.readString());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C1104Vs[] newArray(int i) {
return new C1104Vs[i];
}
}
public static /* synthetic */ C1104Vs e(C1104Vs c1104Vs, String str) {
return new C1104Vs(c1104Vs.d, c1104Vs.a, c1104Vs.c, str);
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.d ? 1 : 0);
parcel.writeStringList(this.a);
List<VE> list = this.c;
if (list == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeInt(list.size());
Iterator<VE> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
parcel.writeString(this.e);
}
public final String toString() {
boolean z = this.d;
List<String> list = this.a;
List<VE> list2 = this.c;
String str = this.e;
StringBuilder sb = new StringBuilder("AccountTransferMethodDisplay(fieldFlag=");
sb.append(z);
sb.append(", listOfValue=");
sb.append(list);
sb.append(", transferMethodList=");
sb.append(list2);
sb.append(", defaultValue=");
sb.append(str);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v1, types: [int] */
/* JADX WARN: Type inference failed for: r0v8 */
/* JADX WARN: Type inference failed for: r0v9 */
public final int hashCode() {
boolean z = this.d;
?? r0 = z;
if (z) {
r0 = 1;
}
List<String> list = this.a;
int hashCode = list == null ? 0 : list.hashCode();
List<VE> list2 = this.c;
int hashCode2 = list2 == null ? 0 : list2.hashCode();
String str = this.e;
return (((((r0 * 31) + hashCode) * 31) + hashCode2) * 31) + (str != null ? str.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C1104Vs)) {
return false;
}
C1104Vs c1104Vs = (C1104Vs) obj;
return this.d == c1104Vs.d && C14957gcv.b(this.a, c1104Vs.a) && C14957gcv.b(this.c, c1104Vs.c) && C14957gcv.b((Object) this.e, (Object) c1104Vs.e);
}
}