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

85 lines
2.3 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.List;
/* loaded from: classes3.dex */
public final class RP implements Parcelable {
public static final LWm CREATOR = new LWm(0);
public final List<RN> a;
public final int b;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public RP(int i, List<RN> list) {
this.b = i;
this.a = list;
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public RP(Parcel parcel) {
this(parcel.readInt(), parcel.createTypedArrayList(RN.CREATOR));
C14957gcv.e(parcel, "");
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.b);
parcel.writeTypedList(this.a);
}
/* loaded from: classes3.dex */
public static final class LWm implements Parcelable.Creator<RP> {
private LWm() {
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ RP createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new RP(parcel);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ RP[] newArray(int i) {
return new RP[i];
}
public /* synthetic */ LWm(byte b) {
this();
}
}
public final String toString() {
int i = this.b;
List<RN> list = this.a;
StringBuilder sb = new StringBuilder("MerchantWalletSweepTransactionDisplay(lastPage=");
sb.append(i);
sb.append(", list=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
int hashCode = Integer.hashCode(this.b);
List<RN> list = this.a;
return (hashCode * 31) + (list == null ? 0 : list.hashCode());
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof RP)) {
return false;
}
RP rp = (RP) obj;
return this.b == rp.b && C14957gcv.b(this.a, rp.a);
}
}