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

85 lines
2.5 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
/* renamed from: o.Pc, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0818Pc implements Comparable<C0818Pc>, Parcelable {
public static final Parcelable.Creator<C0818Pc> CREATOR = new IeS();
public int a;
public String d;
private int e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0818Pc(int i, int i2, String str) {
C14957gcv.e(str, "");
this.e = i;
this.a = i2;
this.d = str;
}
@Override // java.lang.Comparable
public final /* synthetic */ int compareTo(C0818Pc c0818Pc) {
C0818Pc c0818Pc2 = c0818Pc;
C14957gcv.e(c0818Pc2, "");
return C14957gcv.a(this.a, c0818Pc2.a);
}
/* renamed from: o.Pc$IeS */
/* loaded from: classes3.dex */
public static final class IeS implements Parcelable.Creator<C0818Pc> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0818Pc createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new C0818Pc(parcel.readInt(), parcel.readInt(), parcel.readString());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0818Pc[] newArray(int i) {
return new C0818Pc[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.e);
parcel.writeInt(this.a);
parcel.writeString(this.d);
}
public final String toString() {
int i = this.e;
int i2 = this.a;
String str = this.d;
StringBuilder sb = new StringBuilder("InvestmentRiskAssessmentQuestionSummaryDisplay(section=");
sb.append(i);
sb.append(", questionNumber=");
sb.append(i2);
sb.append(", summary=");
sb.append(str);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (((Integer.hashCode(this.e) * 31) + Integer.hashCode(this.a)) * 31) + this.d.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0818Pc)) {
return false;
}
C0818Pc c0818Pc = (C0818Pc) obj;
return this.e == c0818Pc.e && this.a == c0818Pc.a && C14957gcv.b((Object) this.d, (Object) c0818Pc.d);
}
}