package com.google.android.gms.internal.measurement; import com.ironsource.v8; import java.util.Map; /* loaded from: classes3.dex */ final class zzlt implements Comparable, Map.Entry { private final Comparable zza; private Object zzb; private final /* synthetic */ zzln zzc; @Override // java.lang.Comparable public final /* synthetic */ int compareTo(Object obj) { return ((Comparable) getKey()).compareTo((Comparable) ((zzlt) obj).getKey()); } @Override // java.util.Map.Entry public final /* synthetic */ Object getKey() { return this.zza; } @Override // java.util.Map.Entry public final Object getValue() { return this.zzb; } @Override // java.util.Map.Entry public final int hashCode() { Comparable comparable = this.zza; int hashCode = comparable == null ? 0 : comparable.hashCode(); Object obj = this.zzb; return hashCode ^ (obj != null ? obj.hashCode() : 0); } @Override // java.util.Map.Entry public final Object setValue(Object obj) { this.zzc.zzg(); Object obj2 = this.zzb; this.zzb = obj; return obj2; } public final String toString() { return String.valueOf(this.zza) + v8.i.b + String.valueOf(this.zzb); } public zzlt(zzln zzlnVar, Map.Entry entry) { this(zzlnVar, (Comparable) entry.getKey(), entry.getValue()); } public zzlt(zzln zzlnVar, Comparable comparable, Object obj) { this.zzc = zzlnVar; this.zza = comparable; this.zzb = obj; } @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 zza(this.zza, entry.getKey()) && zza(this.zzb, entry.getValue()); } private static boolean zza(Object obj, Object obj2) { if (obj == null) { return obj2 == null; } return obj.equals(obj2); } }