Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzfyi.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

89 lines
2.7 KiB
Java

package com.google.android.gms.internal.ads;
import java.util.AbstractCollection;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
/* loaded from: classes3.dex */
final class zzfyi extends AbstractCollection {
final Map zza;
public zzfyi(Map map) {
this.zza = map;
}
@Override // java.util.AbstractCollection, java.util.Collection
public final void clear() {
this.zza.clear();
}
@Override // java.util.AbstractCollection, java.util.Collection
public final boolean contains(Object obj) {
return this.zza.containsValue(obj);
}
@Override // java.util.AbstractCollection, java.util.Collection
public final boolean isEmpty() {
return this.zza.isEmpty();
}
@Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable
public final Iterator iterator() {
return new zzfyf(this.zza.entrySet().iterator());
}
@Override // java.util.AbstractCollection, java.util.Collection
public final boolean remove(Object obj) {
try {
return super.remove(obj);
} catch (UnsupportedOperationException unused) {
for (Map.Entry entry : this.zza.entrySet()) {
if (zzfuk.zza(obj, entry.getValue())) {
this.zza.remove(entry.getKey());
return true;
}
}
return false;
}
}
@Override // java.util.AbstractCollection, java.util.Collection
public final int size() {
return this.zza.size();
}
@Override // java.util.AbstractCollection, java.util.Collection
public final boolean removeAll(Collection collection) {
collection.getClass();
try {
return super.removeAll(collection);
} catch (UnsupportedOperationException unused) {
HashSet hashSet = new HashSet();
for (Map.Entry entry : this.zza.entrySet()) {
if (collection.contains(entry.getValue())) {
hashSet.add(entry.getKey());
}
}
return this.zza.keySet().removeAll(hashSet);
}
}
@Override // java.util.AbstractCollection, java.util.Collection
public final boolean retainAll(Collection collection) {
collection.getClass();
try {
return super.retainAll(collection);
} catch (UnsupportedOperationException unused) {
HashSet hashSet = new HashSet();
for (Map.Entry entry : this.zza.entrySet()) {
if (collection.contains(entry.getValue())) {
hashSet.add(entry.getKey());
}
}
return this.zza.keySet().retainAll(hashSet);
}
}
}