content: package com.google.android.material.internal;
  
  import android.os.Parcel;
  import android.os.Parcelable;
  import android.util.SparseBooleanArray;
  
  public class ParcelableSparseBooleanArray extends SparseBooleanArray implements Parcelable {
      public static final Parcelable.Creator<ParcelableSparseBooleanArray> CREATOR = new Parcelable.Creator<ParcelableSparseBooleanArray>() {
          public ParcelableSparseBooleanArray createFromParcel(Parcel source) {
              int readInt = source.readInt();
              ParcelableSparseBooleanArray parcelableSparseBooleanArray = new ParcelableSparseBooleanArray(readInt);
              int[] iArr = new int[readInt];
              boolean[] zArr = new boolean[readInt];
              source.readIntArray(iArr);
              source.readBooleanArray(zArr);
              for (int i = 0; i < readInt; i++) {
                  parcelableSparseBooleanArray.put(iArr[i], zArr[i]);
              }
              return parcelableSparseBooleanArray;
          }
  
          public ParcelableSparseBooleanArray[] newArray(int size) {
              return new ParcelableSparseBooleanArray[size];
          }
      };
  
      public ParcelableSparseBooleanArray() {
      }
  
      public ParcelableSparseBooleanArray(int initialCapacity) {
          super(initialCapacity);
      }
  
      public ParcelableSparseBooleanArray(SparseBooleanArray sparseBooleanArray) {
          super(sparseBooleanArray.size());
          for (int i = 0; i < sparseBooleanArray.size(); i++) {
              put(sparseBooleanArray.keyAt(i), sparseBooleanArray.valueAt(i));
          }
      }
  
      public int describeContents() {
          return 0;
      }
  
      public void writeToParcel(Parcel dest, int flags) {
          int[] iArr = new int[size()];
          boolean[] zArr = new boolean[size()];
          for (int i = 0; i < size(); i++) {
              iArr[i] = keyAt(i);
              zArr[i] = valueAt(i);
          }
          dest.writeInt(size());
          dest.writeIntArray(iArr);
          dest.writeBooleanArray(zArr);
      }
  }
  