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

58 lines
1.9 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.LinkedHashMap;
import java.util.Map;
/* renamed from: o.hd, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C15670hd implements Parcelable {
public static final Parcelable.Creator<C15670hd> CREATOR = new LWm();
public final Map<String, Object> a;
public final boolean e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C15670hd(Map<String, ? extends Object> map, boolean z) {
C14957gcv.e(map, "");
this.a = map;
this.e = z;
}
/* renamed from: o.hd$LWm */
/* loaded from: classes3.dex */
public static final class LWm implements Parcelable.Creator<C15670hd> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C15670hd 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(C15670hd.class.getClassLoader()));
}
return new C15670hd(linkedHashMap, parcel.readInt() != 0);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C15670hd[] newArray(int i) {
return new C15670hd[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.e ? 1 : 0);
}
}