package com.google.android.gms.internal.firebase_ml; import java.util.ArrayList; import java.util.List; /* loaded from: classes2.dex */ final class zzwc extends zzsq { private static final zzwc zzbrt; private final List zzbqd; zzwc() { this(new ArrayList(10)); } private zzwc(List list) { this.zzbqd = list; } @Override // com.google.android.gms.internal.firebase_ml.zzsq, java.util.AbstractList, java.util.List public final void add(int i, E e) { zzpu(); this.zzbqd.add(i, e); this.modCount++; } @Override // java.util.AbstractList, java.util.List public final E get(int i) { return this.zzbqd.get(i); } @Override // com.google.android.gms.internal.firebase_ml.zzsq, java.util.AbstractList, java.util.List public final E remove(int i) { zzpu(); E remove = this.zzbqd.remove(i); this.modCount++; return remove; } @Override // com.google.android.gms.internal.firebase_ml.zzsq, java.util.AbstractList, java.util.List public final E set(int i, E e) { zzpu(); E e2 = this.zzbqd.set(i, e); this.modCount++; return e2; } @Override // java.util.AbstractCollection, java.util.Collection, java.util.List public final int size() { return this.zzbqd.size(); } @Override // com.google.android.gms.internal.firebase_ml.zzun public final /* synthetic */ zzun zzck(int i) { if (i < size()) { throw new IllegalArgumentException(); } ArrayList arrayList = new ArrayList(i); arrayList.addAll(this.zzbqd); return new zzwc(arrayList); } static { zzwc zzwcVar = new zzwc<>(new ArrayList(0)); zzbrt = zzwcVar; zzwcVar.zzpt(); } public static zzwc zzsp() { return (zzwc) zzbrt; } }