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

70 lines
1.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Parcel;
import android.os.Parcelable;
/* loaded from: classes3.dex */
public class XD implements Parcelable {
public static final Parcelable.Creator<XD> CREATOR = new Parcelable.Creator<XD>() { // from class: o.XD.1
@Override // android.os.Parcelable.Creator
public final /* synthetic */ XD createFromParcel(Parcel parcel) {
return new XD(parcel);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ XD[] newArray(int i) {
return new XD[i];
}
};
public boolean a;
public String c;
public boolean e;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public XD() {
}
public static XD a() {
return new XD();
}
protected XD(Parcel parcel) {
this.e = parcel.readByte() != 0;
this.c = parcel.readString();
this.a = parcel.readByte() != 0;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeByte(this.e ? (byte) 1 : (byte) 0);
parcel.writeString(this.c);
parcel.writeByte(this.a ? (byte) 1 : (byte) 0);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
XD xd = (XD) obj;
if (this.e != xd.e || this.a != xd.a) {
return false;
}
String str = this.c;
String str2 = xd.c;
return str != null ? str.equals(str2) : str2 == null;
}
public int hashCode() {
boolean z = this.e;
String str = this.c;
return ((((z ? 1 : 0) * 31) + (str != null ? str.hashCode() : 0)) * 31) + (this.a ? 1 : 0);
}
}