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

92 lines
2.7 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;
/* renamed from: o.Hm, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0478Hm implements Parcelable {
public static final Parcelable.Creator<C0478Hm> CREATOR = new LWm();
public final int a;
private final boolean b;
private final int c;
public final boolean e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0478Hm(int i, int i2, boolean z, boolean z2) {
this.a = i;
this.c = i2;
this.e = z;
this.b = z2;
}
/* renamed from: o.Hm$LWm */
/* loaded from: classes3.dex */
public static final class LWm implements Parcelable.Creator<C0478Hm> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0478Hm createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new C0478Hm(parcel.readInt(), parcel.readInt(), parcel.readInt() != 0, parcel.readInt() != 0);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0478Hm[] newArray(int i) {
return new C0478Hm[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.a);
parcel.writeInt(this.c);
parcel.writeInt(this.e ? 1 : 0);
parcel.writeInt(this.b ? 1 : 0);
}
public final String toString() {
int i = this.a;
int i2 = this.c;
boolean z = this.e;
boolean z2 = this.b;
StringBuilder sb = new StringBuilder("ECouponTransactionPaginateDisplay(currentPage=");
sb.append(i);
sb.append(", pageSize=");
sb.append(i2);
sb.append(", hasNextPage=");
sb.append(z);
sb.append(", hasPreviousPage=");
sb.append(z2);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
public final int hashCode() {
int hashCode = Integer.hashCode(this.a);
int hashCode2 = Integer.hashCode(this.c);
boolean z = this.e;
int i = z;
if (z != 0) {
i = 1;
}
boolean z2 = this.b;
return (((((hashCode * 31) + hashCode2) * 31) + i) * 31) + (z2 ? 1 : z2 ? 1 : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0478Hm)) {
return false;
}
C0478Hm c0478Hm = (C0478Hm) obj;
return this.a == c0478Hm.a && this.c == c0478Hm.c && this.e == c0478Hm.e && this.b == c0478Hm.b;
}
}