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

75 lines
2.2 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/* renamed from: o.Vb, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C1077Vb implements Parcelable {
public static final Parcelable.Creator<C1077Vb> CREATOR = new LWm();
public final List<C1075Va> c;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C1077Vb(List<C1075Va> list) {
C14957gcv.e(list, "");
this.c = list;
}
/* renamed from: o.Vb$LWm */
/* loaded from: classes3.dex */
public static final class LWm implements Parcelable.Creator<C1077Vb> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C1077Vb createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(C1075Va.CREATOR.createFromParcel(parcel));
}
return new C1077Vb(arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C1077Vb[] newArray(int i) {
return new C1077Vb[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
List<C1075Va> list = this.c;
parcel.writeInt(list.size());
Iterator<C1075Va> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
List<C1075Va> list = this.c;
StringBuilder sb = new StringBuilder("ToggleListDisplay(toggleList=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return this.c.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
return (obj instanceof C1077Vb) && C14957gcv.b(this.c, ((C1077Vb) obj).c);
}
}