package com.google.android.gms.internal.firebase_ml; import java.util.AbstractSet; import java.util.Iterator; import java.util.Map; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes2.dex */ public final class zzhj extends AbstractSet> { private final zzhg zzzf; /* JADX INFO: Access modifiers changed from: package-private */ public zzhj(zzhg zzhgVar) { this.zzzf = zzhgVar; } @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set public final int size() { Iterator it = this.zzzf.zztx.zzyp.iterator(); int i = 0; while (it.hasNext()) { if (this.zzzf.zztx.zzao(it.next()).zzh(this.zzzf.object) != null) { i++; } } return i; } @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set public final void clear() { Iterator it = this.zzzf.zztx.zzyp.iterator(); while (it.hasNext()) { this.zzzf.zztx.zzao(it.next()).zzb(this.zzzf.object, null); } } @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set public final boolean isEmpty() { Iterator it = this.zzzf.zztx.zzyp.iterator(); while (it.hasNext()) { if (this.zzzf.zztx.zzao(it.next()).zzh(this.zzzf.object) != null) { return false; } } return true; } @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set public final /* synthetic */ Iterator iterator() { return new zzhi(this.zzzf); } }