58 lines
1.9 KiB
Java
58 lines
1.9 KiB
Java
|
package o;
|
||
|
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import android.util.SparseArray;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class weE extends SparseArray<Parcelable> implements Parcelable {
|
||
|
public static final Parcelable.Creator<weE> CREATOR = new Parcelable.ClassLoaderCreator<weE>() { // from class: o.weE.4
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
|
||
|
return new weE(parcel, null);
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable.ClassLoaderCreator
|
||
|
public final /* synthetic */ weE createFromParcel(Parcel parcel, ClassLoader classLoader) {
|
||
|
return new weE(parcel, classLoader);
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* bridge */ /* synthetic */ Object[] newArray(int i) {
|
||
|
return new weE[i];
|
||
|
}
|
||
|
};
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final int describeContents() {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public weE() {
|
||
|
}
|
||
|
|
||
|
public weE(Parcel parcel, ClassLoader classLoader) {
|
||
|
int readInt = parcel.readInt();
|
||
|
int[] iArr = new int[readInt];
|
||
|
parcel.readIntArray(iArr);
|
||
|
Parcelable[] readParcelableArray = parcel.readParcelableArray(classLoader);
|
||
|
for (int i = 0; i < readInt; i++) {
|
||
|
put(iArr[i], readParcelableArray[i]);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final void writeToParcel(Parcel parcel, int i) {
|
||
|
int size = size();
|
||
|
int[] iArr = new int[size];
|
||
|
Parcelable[] parcelableArr = new Parcelable[size];
|
||
|
for (int i2 = 0; i2 < size; i2++) {
|
||
|
iArr[i2] = keyAt(i2);
|
||
|
parcelableArr[i2] = valueAt(i2);
|
||
|
}
|
||
|
parcel.writeInt(size);
|
||
|
parcel.writeIntArray(iArr);
|
||
|
parcel.writeParcelableArray(parcelableArr, i);
|
||
|
}
|
||
|
}
|