what-the-bank/sources/com/google/android/gms/internal/firebase_ml/zzhj.java

53 lines
1.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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<Map.Entry<String, Object>> {
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<String> 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<String> 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<String> 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);
}
}