package com.google.android.gms.internal.clearcut; import java.util.ArrayList; import java.util.List; /* loaded from: classes2.dex */ final class zzeb extends zzav { private static final zzeb zznf; private final List zzls; @Override // com.google.android.gms.internal.clearcut.zzcn public final /* synthetic */ zzcn zzi(int i) { if (i < size()) { throw new IllegalArgumentException(); } ArrayList arrayList = new ArrayList(i); arrayList.addAll(this.zzls); return new zzeb(arrayList); } @Override // java.util.AbstractCollection, java.util.Collection, java.util.List public final int size() { return this.zzls.size(); } @Override // com.google.android.gms.internal.clearcut.zzav, java.util.AbstractList, java.util.List public final E set(int i, E e) { zzw(); E e2 = this.zzls.set(i, e); this.modCount++; return e2; } @Override // com.google.android.gms.internal.clearcut.zzav, java.util.AbstractList, java.util.List public final E remove(int i) { zzw(); E remove = this.zzls.remove(i); this.modCount++; return remove; } @Override // java.util.AbstractList, java.util.List public final E get(int i) { return this.zzls.get(i); } @Override // com.google.android.gms.internal.clearcut.zzav, java.util.AbstractList, java.util.List public final void add(int i, E e) { zzw(); this.zzls.add(i, e); this.modCount++; } public static zzeb zzcn() { return (zzeb) zznf; } private zzeb(List list) { this.zzls = list; } zzeb() { this(new ArrayList(10)); } static { zzeb zzebVar = new zzeb<>(); zznf = zzebVar; zzebVar.zzv(); } }