package com.google.android.gms.internal.location; 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 zzbu 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: zze, reason: merged with bridge method [inline-methods] */ public abstract zzbz iterator(); /* JADX INFO: Access modifiers changed from: package-private */ public abstract boolean zzf(); @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[] zzg = zzg(); if (zzg == null) { objArr = (Object[]) Array.newInstance(objArr.getClass().getComponentType(), size); } else { return Arrays.copyOfRange(zzg, 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[] zzg() { throw null; } public zzbx zzd() { 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; } }