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

84 lines
2.3 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
/* loaded from: classes3.dex */
public final class SH implements Parcelable {
public static final Parcelable.Creator<SH> CREATOR = new IeS();
public final boolean b;
public final boolean d;
public final String e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public SH(String str, boolean z, boolean z2) {
C14957gcv.e(str, "");
this.e = str;
this.b = z;
this.d = z2;
}
/* loaded from: classes3.dex */
public static final class IeS implements Parcelable.Creator<SH> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ SH createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new SH(parcel.readString(), parcel.readInt() != 0, parcel.readInt() != 0);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ SH[] newArray(int i) {
return new SH[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.e);
parcel.writeInt(this.b ? 1 : 0);
parcel.writeInt(this.d ? 1 : 0);
}
public final String toString() {
String str = this.e;
boolean z = this.b;
boolean z2 = this.d;
StringBuilder sb = new StringBuilder("ScreenRuleDisplay(field=");
sb.append(str);
sb.append(", isHidden=");
sb.append(z);
sb.append(", isPrefilled=");
sb.append(z2);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
public final int hashCode() {
int hashCode = this.e.hashCode();
boolean z = this.b;
int i = z;
if (z != 0) {
i = 1;
}
boolean z2 = this.d;
return (((hashCode * 31) + i) * 31) + (z2 ? 1 : z2 ? 1 : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof SH)) {
return false;
}
SH sh = (SH) obj;
return C14957gcv.b((Object) this.e, (Object) sh.e) && this.b == sh.b && this.d == sh.d;
}
}