what-the-bank/sources/com/google/android/gms/internal/p002firebaseauthapi/zzafd.java

78 lines
2.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.p002firebaseauthapi;
import com.huawei.hms.framework.common.ContainerUtils;
import java.util.Map;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public final class zzafd implements Map.Entry, Comparable {
final zzafj zza;
private final Comparable zzb;
private Object zzc;
private static final boolean zzb(Object obj, Object obj2) {
if (obj == null) {
return obj2 == null;
}
return obj.equals(obj2);
}
@Override // java.lang.Comparable
public final /* bridge */ /* synthetic */ int compareTo(Object obj) {
return this.zzb.compareTo(((zzafd) obj).zzb);
}
@Override // java.util.Map.Entry
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof Map.Entry)) {
return false;
}
Map.Entry entry = (Map.Entry) obj;
return zzb(this.zzb, entry.getKey()) && zzb(this.zzc, entry.getValue());
}
@Override // java.util.Map.Entry
public final int hashCode() {
Comparable comparable = this.zzb;
int hashCode = comparable == null ? 0 : comparable.hashCode();
Object obj = this.zzc;
return hashCode ^ (obj != null ? obj.hashCode() : 0);
}
@Override // java.util.Map.Entry
public final Object setValue(Object obj) {
this.zza.zzn();
Object obj2 = this.zzc;
this.zzc = obj;
return obj2;
}
public final String toString() {
return String.valueOf(this.zzb) + ContainerUtils.KEY_VALUE_DELIMITER + String.valueOf(this.zzc);
}
public final Comparable zza() {
return this.zzb;
}
@Override // java.util.Map.Entry
public final Object getValue() {
return this.zzc;
}
@Override // java.util.Map.Entry
public final /* synthetic */ Object getKey() {
return this.zzb;
}
/* JADX INFO: Access modifiers changed from: package-private */
public zzafd(zzafj zzafjVar, Comparable comparable, Object obj) {
this.zza = zzafjVar;
this.zzb = comparable;
this.zzc = obj;
}
}