Files
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

90 lines
2.6 KiB
Java

package com.google.android.gms.internal.ads;
import java.util.Collection;
import java.util.Iterator;
import java.util.Set;
import java.util.SortedSet;
/* loaded from: classes3.dex */
public final class zzfzp {
public static int zza(Set set) {
Iterator it = set.iterator();
int i = 0;
while (it.hasNext()) {
Object next = it.next();
i += next != null ? next.hashCode() : 0;
}
return i;
}
public static zzfzn zzb(Set set, Set set2) {
zzfun.zzc(set, "set1");
zzfun.zzc(set2, "set2");
return new zzfzj(set, set2);
}
/* JADX WARN: Multi-variable type inference failed */
public static Set zzc(Set set, zzfuo zzfuoVar) {
if (!(set instanceof SortedSet)) {
if (!(set instanceof zzfzk)) {
set.getClass();
return new zzfzk(set, zzfuoVar);
}
zzfzk zzfzkVar = (zzfzk) set;
return new zzfzk((Set) zzfzkVar.zza, zzfur.zza(zzfzkVar.zzb, zzfuoVar));
}
SortedSet sortedSet = (SortedSet) set;
if (!(sortedSet instanceof zzfzk)) {
sortedSet.getClass();
return new zzfzl(sortedSet, zzfuoVar);
}
zzfzk zzfzkVar2 = (zzfzk) sortedSet;
return new zzfzl((SortedSet) zzfzkVar2.zza, zzfur.zza(zzfzkVar2.zzb, zzfuoVar));
}
public static boolean zzd(Set set, Object obj) {
if (set == obj) {
return true;
}
if (obj instanceof Set) {
Set set2 = (Set) obj;
try {
if (set.size() == set2.size()) {
if (set.containsAll(set2)) {
return true;
}
}
} catch (ClassCastException | NullPointerException unused) {
}
}
return false;
}
public static boolean zzf(Set set, Iterator it) {
boolean z = false;
while (it.hasNext()) {
z |= set.remove(it.next());
}
return z;
}
public static boolean zze(Set set, Collection collection) {
collection.getClass();
if (collection instanceof zzfyv) {
collection = ((zzfyv) collection).zza();
}
if (!(collection instanceof Set) || collection.size() <= set.size()) {
return zzf(set, collection.iterator());
}
Iterator it = set.iterator();
boolean z = false;
while (it.hasNext()) {
if (collection.contains(it.next())) {
it.remove();
z = true;
}
}
return z;
}
}