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

156 lines
5.3 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;
/* renamed from: o.Pt, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0843Pt implements Parcelable {
public static final Parcelable.Creator<C0843Pt> CREATOR = new HBt();
public final List<C0850Py> a;
public final String b;
public final String c;
public final boolean d;
public final String e;
public final String g;
public final String h;
public final double j;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0843Pt(String str, String str2, double d, String str3, String str4, boolean z, String str5, List<C0850Py> list) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
this.b = str;
this.e = str2;
this.j = d;
this.g = str3;
this.h = str4;
this.d = z;
this.c = str5;
this.a = list;
}
/* renamed from: o.Pt$HBt */
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<C0843Pt> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0843Pt createFromParcel(Parcel parcel) {
ArrayList arrayList;
C14957gcv.e(parcel, "");
String readString = parcel.readString();
String readString2 = parcel.readString();
double readDouble = parcel.readDouble();
String readString3 = parcel.readString();
String readString4 = parcel.readString();
boolean z = parcel.readInt() != 0;
String readString5 = parcel.readString();
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(C0850Py.CREATOR.createFromParcel(parcel));
}
arrayList = arrayList2;
}
return new C0843Pt(readString, readString2, readDouble, readString3, readString4, z, readString5, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0843Pt[] newArray(int i) {
return new C0843Pt[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.b);
parcel.writeString(this.e);
parcel.writeDouble(this.j);
parcel.writeString(this.g);
parcel.writeString(this.h);
parcel.writeInt(this.d ? 1 : 0);
parcel.writeString(this.c);
List<C0850Py> list = this.a;
if (list == null) {
parcel.writeInt(0);
return;
}
parcel.writeInt(1);
parcel.writeInt(list.size());
Iterator<C0850Py> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
String str = this.b;
String str2 = this.e;
double d = this.j;
String str3 = this.g;
String str4 = this.h;
boolean z = this.d;
String str5 = this.c;
List<C0850Py> list = this.a;
StringBuilder sb = new StringBuilder("TopItemDisplay(fundCode=");
sb.append(str);
sb.append(", shortBrokerName=");
sb.append(str2);
sb.append(", yield=");
sb.append(d);
sb.append(", yieldFormatted=");
sb.append(str3);
sb.append(", yieldDate=");
sb.append(str4);
sb.append(", otherChannelFlag=");
sb.append(z);
sb.append(", assetType=");
sb.append(str5);
sb.append(", tags=");
sb.append(list);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
public final int hashCode() {
int hashCode = this.b.hashCode();
int hashCode2 = this.e.hashCode();
int hashCode3 = Double.hashCode(this.j);
int hashCode4 = this.g.hashCode();
int hashCode5 = this.h.hashCode();
boolean z = this.d;
int i = z;
if (z != 0) {
i = 1;
}
int hashCode6 = this.c.hashCode();
List<C0850Py> list = this.a;
return (((((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + i) * 31) + hashCode6) * 31) + (list == null ? 0 : list.hashCode());
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0843Pt)) {
return false;
}
C0843Pt c0843Pt = (C0843Pt) obj;
return C14957gcv.b((Object) this.b, (Object) c0843Pt.b) && C14957gcv.b((Object) this.e, (Object) c0843Pt.e) && Double.compare(this.j, c0843Pt.j) == 0 && C14957gcv.b((Object) this.g, (Object) c0843Pt.g) && C14957gcv.b((Object) this.h, (Object) c0843Pt.h) && this.d == c0843Pt.d && C14957gcv.b((Object) this.c, (Object) c0843Pt.c) && C14957gcv.b(this.a, c0843Pt.a);
}
}