package o;

import java.util.Map;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.l90, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1745l90 implements Map.Entry, Comparable {
    public final Comparable l;
    public Object m;
    public final /* synthetic */ C1650k90 n;

    public C1745l90(C1650k90 c1650k90, Comparable comparable, Object obj) {
        this.n = c1650k90;
        this.l = comparable;
        this.m = obj;
    }

    @Override // java.lang.Comparable
    public final int compareTo(Object obj) {
        return this.l.compareTo(((C1745l90) obj).l);
    }

    @Override // java.util.Map.Entry
    public final boolean equals(Object obj) {
        if (obj != this) {
            if (obj instanceof Map.Entry) {
                Map.Entry entry = (Map.Entry) obj;
                Object key = entry.getKey();
                Comparable comparable = this.l;
                if (comparable == null ? key == null : comparable.equals(key)) {
                    Object obj2 = this.m;
                    Object value = entry.getValue();
                    if (obj2 == null ? value == null : obj2.equals(value)) {
                    }
                }
            }
            return false;
        }
        return true;
    }

    @Override // java.util.Map.Entry
    public final Object getKey() {
        return this.l;
    }

    @Override // java.util.Map.Entry
    public final Object getValue() {
        return this.m;
    }

    @Override // java.util.Map.Entry
    public final int hashCode() {
        Comparable comparable = this.l;
        int iHashCode = comparable == null ? 0 : comparable.hashCode();
        Object obj = this.m;
        return (obj != null ? obj.hashCode() : 0) ^ iHashCode;
    }

    @Override // java.util.Map.Entry
    public final Object setValue(Object obj) {
        this.n.b();
        Object obj2 = this.m;
        this.m = obj;
        return obj2;
    }

    public final String toString() {
        return this.l + "=" + this.m;
    }
}
