package o; import java.util.Objects; import o.C15715hv; /* loaded from: classes3.dex */ public final class OQ { public String a; public String b; public Integer c; public String d; public String e; public static int e(String str) { if ("NEAR CASH".equals(str)) { return C15715hv.LWm.in_light_green; } if ("MIXED ASSETS".equals(str)) { return C15715hv.LWm.in_light_blue; } if ("EQUITY".equals(str)) { return C15715hv.LWm.in_dark_blue; } if ("FIXED INCOME".equals(str)) { return C15715hv.LWm.in_yellow; } if ("COMMODITIES".equals(str)) { return C15715hv.LWm.in_red; } return C15715hv.LWm.black; } /* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */ public static int d(String str) { char c; str.hashCode(); switch (str.hashCode()) { case -48864149: if (str.equals("COMMODITIES")) { c = 0; break; } c = 65535; break; case 684702763: if (str.equals("NEAR CASH")) { c = 1; break; } c = 65535; break; case 890169333: if (str.equals("FIXED INCOME")) { c = 2; break; } c = 65535; break; case 1569800040: if (str.equals("MIXED ASSETS")) { c = 3; break; } c = 65535; break; case 2052821701: if (str.equals("EQUITY")) { c = 4; break; } c = 65535; break; default: c = 65535; break; } if (c == 0) { return C15715hv.tOB.commodities; } if (c == 1) { return C15715hv.tOB.near_case; } if (c == 2) { return C15715hv.tOB.fixed_income; } if (c == 3) { return C15715hv.tOB.mixed_asset; } if (c == 4) { return C15715hv.tOB.equity; } return C15715hv.tOB.empty; } public final boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } OQ oq = (OQ) obj; if (Objects.equals(this.c, oq.c) && Objects.equals(this.e, oq.e) && Objects.equals(this.a, oq.a) && Objects.equals(this.d, oq.d)) { return Objects.equals(this.b, oq.b); } return false; } public final int hashCode() { Integer num = this.c; int hashCode = num != null ? num.hashCode() : 0; String str = this.e; int hashCode2 = str != null ? str.hashCode() : 0; String str2 = this.a; int hashCode3 = str2 != null ? str2.hashCode() : 0; String str3 = this.d; int hashCode4 = str3 != null ? str3.hashCode() : 0; String str4 = this.b; return (((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + (str4 != null ? str4.hashCode() : 0); } public final String toString() { StringBuilder sb = new StringBuilder("InvestmentDetailsSummaryAssetGroupDisplay{sortSequence="); sb.append(this.c); sb.append(", percent='"); sb.append(this.e); sb.append("', percentLegend='"); sb.append(this.a); sb.append("', assetTypeDescription='"); sb.append(this.d); sb.append("', assetTypeCode='"); sb.append(this.b); sb.append("'}"); return sb.toString(); } }