package d1;

import java.util.Map;

/* loaded from: classes.dex */
public class b implements Map.Entry, en.a {

    /* renamed from: p, reason: collision with root package name */
    private final Object f15723p;

    /* renamed from: q, reason: collision with root package name */
    private final Object f15724q;

    public b(Object obj, Object obj2) {
        this.f15723p = obj;
        this.f15724q = obj2;
    }

    @Override // java.util.Map.Entry
    public boolean equals(Object obj) {
        Map.Entry entry = obj instanceof Map.Entry ? (Map.Entry) obj : null;
        return entry != null && kotlin.jvm.internal.t.b(entry.getKey(), getKey()) && kotlin.jvm.internal.t.b(entry.getValue(), getValue());
    }

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

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

    @Override // java.util.Map.Entry
    public int hashCode() {
        Object key = getKey();
        int hashCode = key != null ? key.hashCode() : 0;
        Object value = getValue();
        return hashCode ^ (value != null ? value.hashCode() : 0);
    }

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

    public String toString() {
        StringBuilder sb2 = new StringBuilder();
        sb2.append(getKey());
        sb2.append('=');
        sb2.append(getValue());
        return sb2.toString();
    }
}
