package com.google.android.gms.internal.p002firebaseauthapi; import java.io.Serializable; import java.lang.reflect.Array; import java.util.AbstractCollection; import java.util.Arrays; import java.util.Collection; /* loaded from: classes2.dex */ public abstract class zzai extends AbstractCollection implements Serializable { private static final Object[] zza = new Object[0]; @Override // java.util.AbstractCollection, java.util.Collection @Deprecated public final boolean add(Object obj) { throw new UnsupportedOperationException(); } @Override // java.util.AbstractCollection, java.util.Collection @Deprecated public final boolean addAll(Collection collection) { throw new UnsupportedOperationException(); } @Override // java.util.AbstractCollection, java.util.Collection @Deprecated public final void clear() { throw new UnsupportedOperationException(); } @Override // java.util.AbstractCollection, java.util.Collection @Deprecated public final boolean remove(Object obj) { throw new UnsupportedOperationException(); } @Override // java.util.AbstractCollection, java.util.Collection @Deprecated public final boolean removeAll(Collection collection) { throw new UnsupportedOperationException(); } @Override // java.util.AbstractCollection, java.util.Collection @Deprecated public final boolean retainAll(Collection collection) { throw new UnsupportedOperationException(); } @Override // java.util.AbstractCollection, java.util.Collection public final Object[] toArray() { return toArray(zza); } @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable /* renamed from: zzd, reason: merged with bridge method [inline-methods] */ public abstract zzan iterator(); @Override // java.util.AbstractCollection, java.util.Collection public final Object[] toArray(Object[] objArr) { objArr.getClass(); int size = size(); int length = objArr.length; if (length < size) { Object[] zze = zze(); if (zze == null) { objArr = (Object[]) Array.newInstance(objArr.getClass().getComponentType(), size); } else { return Arrays.copyOfRange(zze, zzc(), zzb(), objArr.getClass()); } } else if (length > size) { objArr[size] = null; } zza(objArr, 0); return objArr; } /* JADX INFO: Access modifiers changed from: package-private */ public Object[] zze() { throw null; } /* JADX INFO: Access modifiers changed from: package-private */ public int zzc() { throw null; } int zzb() { throw null; } int zza(Object[] objArr, int i) { throw null; } }