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

73 lines
2.1 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;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes3.dex */
public final class TO implements Parcelable {
public static final Parcelable.Creator<TO> CREATOR = new HBt();
public final List<XL> b;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public TO(List<XL> list) {
C14957gcv.e(list, "");
this.b = list;
}
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<TO> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ TO createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(parcel.readParcelable(TO.class.getClassLoader()));
}
return new TO(arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ TO[] newArray(int i) {
return new TO[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
List<XL> list = this.b;
parcel.writeInt(list.size());
Iterator<XL> it = list.iterator();
while (it.hasNext()) {
parcel.writeParcelable(it.next(), i);
}
}
public final String toString() {
List<XL> list = this.b;
StringBuilder sb = new StringBuilder("AdditionalMetaDataDisplay(paymentInfo=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return this.b.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
return (obj instanceof TO) && C14957gcv.b(this.b, ((TO) obj).b);
}
}