package o;

import java.util.Map;

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

    public /* synthetic */ C3088zN(int i, Object obj, Object obj2) {
        this.l = i;
        this.m = obj;
        this.n = obj2;
    }

    @Override // java.util.Map.Entry
    public boolean equals(Object obj) {
        switch (this.l) {
            case 0:
                Map.Entry entry = obj instanceof Map.Entry ? (Map.Entry) obj : null;
                return entry != null && F3.c(entry.getKey(), this.m) && F3.c(entry.getValue(), getValue());
            default:
                return super.equals(obj);
        }
    }

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

    @Override // java.util.Map.Entry
    public Object getValue() {
        switch (this.l) {
        }
        return this.n;
    }

    @Override // java.util.Map.Entry
    public int hashCode() {
        switch (this.l) {
            case 0:
                Object obj = this.m;
                int iHashCode = obj != null ? obj.hashCode() : 0;
                Object value = getValue();
                return (value != null ? value.hashCode() : 0) ^ iHashCode;
            default:
                return super.hashCode();
        }
    }

    @Override // java.util.Map.Entry
    public Object setValue(Object obj) {
        switch (this.l) {
            case 0:
                throw new UnsupportedOperationException("Operation is not supported for read-only collection");
            default:
                throw new UnsupportedOperationException("Operation is not supported for read-only collection");
        }
    }

    public String toString() {
        switch (this.l) {
            case 0:
                StringBuilder sb = new StringBuilder();
                sb.append(this.m);
                sb.append('=');
                sb.append(getValue());
                return sb.toString();
            default:
                return super.toString();
        }
    }
}
