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

76 lines
2.6 KiB
Java

package o;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
/* renamed from: o.qpB, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
public final class C16740qpB extends XgG {
public static final Parcelable.Creator<C16740qpB> CREATOR = new Parcelable.ClassLoaderCreator<C16740qpB>() { // from class: o.qpB.4
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
return new C16740qpB(parcel, null, (byte) 0);
}
@Override // android.os.Parcelable.ClassLoaderCreator
public final /* synthetic */ C16740qpB createFromParcel(Parcel parcel, ClassLoader classLoader) {
return new C16740qpB(parcel, classLoader, (byte) 0);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object[] newArray(int i) {
return new C16740qpB[i];
}
};
public final DFj<String, Bundle> c;
/* synthetic */ C16740qpB(Parcel parcel, ClassLoader classLoader, byte b) {
this(parcel, classLoader);
}
public C16740qpB(Parcelable parcelable) {
super(parcelable);
this.c = new DFj<>();
}
private C16740qpB(Parcel parcel, ClassLoader classLoader) {
super(parcel, classLoader);
int readInt = parcel.readInt();
String[] strArr = new String[readInt];
parcel.readStringArray(strArr);
Bundle[] bundleArr = new Bundle[readInt];
parcel.readTypedArray(bundleArr, Bundle.CREATOR);
this.c = new DFj<>(readInt);
for (int i = 0; i < readInt; i++) {
this.c.put(strArr[i], bundleArr[i]);
}
}
@Override // o.XgG, android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
super.writeToParcel(parcel, i);
int size = this.c.size();
parcel.writeInt(size);
String[] strArr = new String[size];
Bundle[] bundleArr = new Bundle[size];
for (int i2 = 0; i2 < size; i2++) {
int i3 = i2 << 1;
strArr[i2] = (String) this.c.e[i3];
bundleArr[i2] = (Bundle) this.c.e[i3 + 1];
}
parcel.writeStringArray(strArr);
parcel.writeTypedArray(bundleArr, 0);
}
public final String toString() {
StringBuilder sb = new StringBuilder("ExtendableSavedState{");
sb.append(Integer.toHexString(System.identityHashCode(this)));
sb.append(" states=");
sb.append(this.c);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
}