what-the-bank/sources/com/google/android/gms/internal/firebase_ml/zzhh.java

55 lines
1.5 KiB
Java

package com.google.android.gms.internal.firebase_ml;
import java.util.Locale;
import java.util.Map;
/* loaded from: classes2.dex */
final class zzhh implements Map.Entry<String, Object> {
private Object zzzd;
private final zzhl zzze;
private final zzhg zzzf;
/* JADX INFO: Access modifiers changed from: package-private */
public zzhh(zzhg zzhgVar, zzhl zzhlVar, Object obj) {
this.zzzf = zzhgVar;
this.zzze = zzhlVar;
this.zzzd = zzks.checkNotNull(obj);
}
@Override // java.util.Map.Entry
public final Object setValue(Object obj) {
Object obj2 = this.zzzd;
this.zzzd = zzks.checkNotNull(obj);
this.zzze.zzb(this.zzzf.object, obj);
return obj2;
}
@Override // java.util.Map.Entry
public final int hashCode() {
return ((String) getKey()).hashCode() ^ getValue().hashCode();
}
@Override // java.util.Map.Entry
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof Map.Entry)) {
return false;
}
Map.Entry entry = (Map.Entry) obj;
return ((String) getKey()).equals(entry.getKey()) && getValue().equals(entry.getValue());
}
@Override // java.util.Map.Entry
public final /* synthetic */ String getKey() {
String name = this.zzze.getName();
return this.zzzf.zztx.zzhc() ? name.toLowerCase(Locale.US) : name;
}
@Override // java.util.Map.Entry
public final Object getValue() {
return this.zzzd;
}
}