Files
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

99 lines
2.7 KiB
Java

package com.google.android.gms.internal.measurement;
import com.google.common.collect.ImmutableSet;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes3.dex */
public final class zzad {
private static final ImmutableSet zza = ImmutableSet.of((Object) "_syn", (Object) "_err", (Object) "_el");
private String zzb;
private long zzc;
private Map<String, Object> zzd;
public final int hashCode() {
int hashCode = this.zzb.hashCode() * 31;
long j = this.zzc;
return ((hashCode + ((int) (j ^ (j >>> 32)))) * 31) + this.zzd.hashCode();
}
public final long zza() {
return this.zzc;
}
public final String zzb() {
return this.zzb;
}
public final void zzb(String str) {
this.zzb = str;
}
public final Map<String, Object> zzc() {
return this.zzd;
}
public final /* synthetic */ Object clone() throws CloneNotSupportedException {
return new zzad(this.zzb, this.zzc, new HashMap(this.zzd));
}
public final Object zza(String str) {
if (this.zzd.containsKey(str)) {
return this.zzd.get(str);
}
return null;
}
public static Object zza(String str, Object obj, Object obj2) {
if (zza.contains(str) && (obj2 instanceof Double)) {
return Long.valueOf(Math.round(((Double) obj2).doubleValue()));
}
if (str.startsWith("_")) {
return ((obj instanceof String) || obj == null) ? obj2 : obj;
}
if (obj instanceof Double) {
return obj2;
}
if (obj instanceof Long) {
return Long.valueOf(Math.round(((Double) obj2).doubleValue()));
}
return obj instanceof String ? obj2.toString() : obj2;
}
public final String toString() {
return "Event{name='" + this.zzb + "', timestamp=" + this.zzc + ", params=" + String.valueOf(this.zzd) + "}";
}
public zzad(String str, long j, Map<String, Object> map) {
this.zzb = str;
this.zzc = j;
HashMap hashMap = new HashMap();
this.zzd = hashMap;
if (map != null) {
hashMap.putAll(map);
}
}
public final void zza(String str, Object obj) {
if (obj == null) {
this.zzd.remove(str);
} else {
this.zzd.put(str, zza(str, this.zzd.get(str), obj));
}
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof zzad)) {
return false;
}
zzad zzadVar = (zzad) obj;
if (this.zzc == zzadVar.zzc && this.zzb.equals(zzadVar.zzb)) {
return this.zzd.equals(zzadVar.zzd);
}
return false;
}
}