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

58 lines
1.9 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.LinkedHashMap;
import java.util.Map;
/* renamed from: o.ho, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C15697ho implements Parcelable {
public static final Parcelable.Creator<C15697ho> CREATOR = new Sts();
public final Map<String, Object> a;
public final boolean b;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C15697ho(Map<String, ? extends Object> map, boolean z) {
C14957gcv.e(map, "");
this.a = map;
this.b = z;
}
/* renamed from: o.ho$Sts */
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<C15697ho> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C15697ho createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
LinkedHashMap linkedHashMap = new LinkedHashMap(readInt);
for (int i = 0; i != readInt; i++) {
linkedHashMap.put(parcel.readString(), parcel.readValue(C15697ho.class.getClassLoader()));
}
return new C15697ho(linkedHashMap, parcel.readInt() != 0);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C15697ho[] newArray(int i) {
return new C15697ho[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
Map<String, Object> map = this.a;
parcel.writeInt(map.size());
for (Map.Entry<String, Object> entry : map.entrySet()) {
parcel.writeString(entry.getKey());
parcel.writeValue(entry.getValue());
}
parcel.writeInt(this.b ? 1 : 0);
}
}