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

95 lines
2.9 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.Ra, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0902Ra implements Parcelable {
public static final Parcelable.Creator<C0902Ra> CREATOR = new HBt();
private final boolean b;
public final List<QT> e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0902Ra(boolean z, List<QT> list) {
C14957gcv.e(list, "");
this.b = z;
this.e = list;
}
/* renamed from: o.Ra$HBt */
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<C0902Ra> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0902Ra createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
boolean z = parcel.readInt() != 0;
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(QT.CREATOR.createFromParcel(parcel));
}
return new C0902Ra(z, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0902Ra[] newArray(int i) {
return new C0902Ra[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.b ? 1 : 0);
List<QT> list = this.e;
parcel.writeInt(list.size());
Iterator<QT> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
boolean z = this.b;
List<QT> list = this.e;
StringBuilder sb = new StringBuilder("JustForYouInsightHeaderResponseDisplay(isCaching=");
sb.append(z);
sb.append(", insightList=");
sb.append(list);
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: r0v4 */
/* JADX WARN: Type inference failed for: r0v5 */
public final int hashCode() {
boolean z = this.b;
?? r0 = z;
if (z) {
r0 = 1;
}
return (r0 * 31) + this.e.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0902Ra)) {
return false;
}
C0902Ra c0902Ra = (C0902Ra) obj;
return this.b == c0902Ra.b && C14957gcv.b(this.e, c0902Ra.e);
}
}