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

97 lines
2.6 KiB
Java

package com.google.android.gms.common.internal;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.ironsource.v8;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Set;
@KeepForSdk
/* loaded from: classes2.dex */
public final class Objects {
@KeepForSdk
public static final class ToStringHelper {
private final List zza;
private final Object zzb;
public /* synthetic */ ToStringHelper(Object obj, zzai zzaiVar) {
Preconditions.checkNotNull(obj);
this.zzb = obj;
this.zza = new ArrayList();
}
@NonNull
@KeepForSdk
public ToStringHelper add(@NonNull String str, @Nullable Object obj) {
Preconditions.checkNotNull(str);
this.zza.add(str + v8.i.b + String.valueOf(obj));
return this;
}
@NonNull
@KeepForSdk
public String toString() {
StringBuilder sb = new StringBuilder(100);
sb.append(this.zzb.getClass().getSimpleName());
sb.append('{');
int size = this.zza.size();
for (int i = 0; i < size; i++) {
sb.append((String) this.zza.get(i));
if (i < size - 1) {
sb.append(", ");
}
}
sb.append('}');
return sb.toString();
}
}
private Objects() {
throw new AssertionError("Uninstantiable");
}
@KeepForSdk
public static boolean checkBundlesEquality(@NonNull Bundle bundle, @NonNull Bundle bundle2) {
if (bundle == null || bundle2 == null) {
return bundle == bundle2;
}
if (bundle.size() != bundle2.size()) {
return false;
}
Set<String> keySet = bundle.keySet();
if (!keySet.containsAll(bundle2.keySet())) {
return false;
}
for (String str : keySet) {
if (!equal(bundle.get(str), bundle2.get(str))) {
return false;
}
}
return true;
}
@KeepForSdk
public static boolean equal(@Nullable Object obj, @Nullable Object obj2) {
if (obj != obj2) {
return obj != null && obj.equals(obj2);
}
return true;
}
@KeepForSdk
public static int hashCode(@NonNull Object... objArr) {
return Arrays.hashCode(objArr);
}
@NonNull
@KeepForSdk
public static ToStringHelper toStringHelper(@NonNull Object obj) {
return new ToStringHelper(obj, null);
}
}