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

109 lines
3.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.List;
/* loaded from: classes3.dex */
public final class DbV implements Comparable<DbV> {
public final int a;
public final String b;
public final boolean c;
public final HBt d;
public final List<fPP> e;
public final int f;
public DbV(int i, int i2, String str, boolean z, HBt hBt, List<fPP> list) {
C14957gcv.e(str, "");
C14957gcv.e(hBt, "");
C14957gcv.e(list, "");
this.f = i;
this.a = i2;
this.b = str;
this.c = z;
this.d = hBt;
this.e = list;
}
@Override // java.lang.Comparable
public final /* synthetic */ int compareTo(DbV dbV) {
DbV dbV2 = dbV;
C14957gcv.e(dbV2, "");
return C14957gcv.a(this.a, dbV2.a);
}
/* loaded from: classes3.dex */
public enum HBt {
CHECKBOX,
RADIO;
public static final LWm Companion = new LWm(0);
/* loaded from: classes3.dex */
public static final class LWm {
private LWm() {
}
public static HBt e(String str) {
if (str == null) {
return HBt.RADIO;
}
try {
return HBt.valueOf(str);
} catch (IllegalArgumentException unused) {
return HBt.RADIO;
}
}
public /* synthetic */ LWm(byte b) {
this();
}
}
}
public final String toString() {
int i = this.f;
int i2 = this.a;
String str = this.b;
boolean z = this.c;
HBt hBt = this.d;
List<fPP> list = this.e;
StringBuilder sb = new StringBuilder("InvestmentRiskAssessmentQuestion(section=");
sb.append(i);
sb.append(", questionNumber=");
sb.append(i2);
sb.append(", question=");
sb.append(str);
sb.append(", isDisplay=");
sb.append(z);
sb.append(", buttonType=");
sb.append(hBt);
sb.append(", answers=");
sb.append(list);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
public final int hashCode() {
int hashCode = Integer.hashCode(this.f);
int hashCode2 = Integer.hashCode(this.a);
int hashCode3 = this.b.hashCode();
boolean z = this.c;
int i = z;
if (z != 0) {
i = 1;
}
return (((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + i) * 31) + this.d.hashCode()) * 31) + this.e.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof DbV)) {
return false;
}
DbV dbV = (DbV) obj;
return this.f == dbV.f && this.a == dbV.a && C14957gcv.b((Object) this.b, (Object) dbV.b) && this.c == dbV.c && this.d == dbV.d && C14957gcv.b(this.e, dbV.e);
}
}