what-the-bank/sources/com/google/android/gms/internal/measurement/zzaa.java

94 lines
2.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.measurement;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes.dex */
public final class zzaa {
private String zza;
private final long zzb;
private final Map<String, Object> zzc;
public zzaa(String str, long j, Map<String, Object> map) {
this.zza = str;
this.zzb = j;
HashMap hashMap = new HashMap();
this.zzc = hashMap;
if (map != null) {
hashMap.putAll(map);
}
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof zzaa)) {
return false;
}
zzaa zzaaVar = (zzaa) obj;
if (this.zzb == zzaaVar.zzb && this.zza.equals(zzaaVar.zza)) {
return this.zzc.equals(zzaaVar.zzc);
}
return false;
}
public final int hashCode() {
int hashCode = this.zza.hashCode();
long j = this.zzb;
return (((hashCode * 31) + ((int) (j ^ (j >>> 32)))) * 31) + this.zzc.hashCode();
}
public final String toString() {
String str = this.zza;
long j = this.zzb;
String obj = this.zzc.toString();
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 55 + obj.length());
sb.append("Event{name='");
sb.append(str);
sb.append("', timestamp=");
sb.append(j);
sb.append(", params=");
sb.append(obj);
sb.append(UrlTreeKt.componentParamSuffixChar);
return sb.toString();
}
/* renamed from: zzb, reason: merged with bridge method [inline-methods] */
public final zzaa clone() {
return new zzaa(this.zza, this.zzb, new HashMap(this.zzc));
}
public final Object zzc(String str) {
if (this.zzc.containsKey(str)) {
return this.zzc.get(str);
}
return null;
}
public final void zzg(String str, Object obj) {
if (obj == null) {
this.zzc.remove(str);
} else {
this.zzc.put(str, obj);
}
}
public final void zzf(String str) {
this.zza = str;
}
public final Map<String, Object> zze() {
return this.zzc;
}
public final String zzd() {
return this.zza;
}
public final long zza() {
return this.zzb;
}
}