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