package n;

import G0.D0;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
import java.util.function.BiFunction;
import java.util.function.Function;

/* JADX INFO: renamed from: n.x, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C2596x implements Map, K4.a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final X f21483a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public C2582i f21484b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public C2582i f21485c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public D0 f21486d;

    public C2596x(X parent) {
        kotlin.jvm.internal.o.h(parent, "parent");
        this.f21483a = parent;
    }

    @Override // java.util.Map
    public final void clear() {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }

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

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

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

    @Override // java.util.Map
    public final boolean containsKey(Object obj) {
        return this.f21483a.b(obj);
    }

    @Override // java.util.Map
    public final boolean containsValue(Object obj) {
        return this.f21483a.c(obj);
    }

    @Override // java.util.Map
    public final Set entrySet() {
        C2582i c2582i = this.f21484b;
        if (c2582i != null) {
            return c2582i;
        }
        C2582i c2582i2 = new C2582i(this.f21483a, 0);
        this.f21484b = c2582i2;
        return c2582i2;
    }

    @Override // java.util.Map
    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || C2596x.class != obj.getClass()) {
            return false;
        }
        return kotlin.jvm.internal.o.c(this.f21483a, ((C2596x) obj).f21483a);
    }

    @Override // java.util.Map
    public final Object get(Object obj) {
        return this.f21483a.d(obj);
    }

    @Override // java.util.Map
    public final int hashCode() {
        return this.f21483a.hashCode();
    }

    @Override // java.util.Map
    public final boolean isEmpty() {
        return this.f21483a.e();
    }

    @Override // java.util.Map
    public final Set keySet() {
        C2582i c2582i = this.f21485c;
        if (c2582i != null) {
            return c2582i;
        }
        C2582i c2582i2 = new C2582i(this.f21483a, 1);
        this.f21485c = c2582i2;
        return c2582i2;
    }

    @Override // java.util.Map
    public final Object merge(Object obj, Object obj2, BiFunction biFunction) {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }

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

    @Override // java.util.Map
    public final void putAll(Map map) {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }

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

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

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

    @Override // java.util.Map
    public final void replaceAll(BiFunction biFunction) {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }

    @Override // java.util.Map
    public final int size() {
        return this.f21483a.f21385e;
    }

    public final String toString() {
        return this.f21483a.toString();
    }

    @Override // java.util.Map
    public final Collection values() {
        D0 d02 = this.f21486d;
        if (d02 != null) {
            return d02;
        }
        D0 d03 = new D0(this.f21483a);
        this.f21486d = d03;
        return d03;
    }

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

    @Override // java.util.Map
    public final boolean replace(Object obj, Object obj2, Object obj3) {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }
}
