what-the-bank/sources/o/C15685hk.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.hk, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C15685hk implements Parcelable {
public static final Parcelable.Creator<C15685hk> CREATOR = new HBt();
public final boolean b;
public final Map<String, Object> c;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C15685hk(Map<String, ? extends Object> map, boolean z) {
C14957gcv.e(map, "");
this.c = map;
this.b = z;
}
/* renamed from: o.hk$HBt */
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<C15685hk> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C15685hk 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(C15685hk.class.getClassLoader()));
}
return new C15685hk(linkedHashMap, parcel.readInt() != 0);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C15685hk[] newArray(int i) {
return new C15685hk[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
Map<String, Object> map = this.c;
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);
}
}