package o;

import java.util.LinkedHashMap;
import java.util.Objects;
import java.util.TreeMap;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.hN, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1379hN {
    public final LinkedHashMap a;

    public C1379hN(int i) {
        switch (i) {
            case 2:
                this.a = new LinkedHashMap();
                break;
            default:
                this.a = new LinkedHashMap(0, 0.75f, true);
                break;
        }
    }

    public void a(CP... cpArr) {
        for (CP cp : cpArr) {
            int i = cp.a;
            int i2 = cp.b;
            Integer numValueOf = Integer.valueOf(i);
            LinkedHashMap linkedHashMap = this.a;
            Object treeMap = linkedHashMap.get(numValueOf);
            if (treeMap == null) {
                treeMap = new TreeMap();
                linkedHashMap.put(numValueOf, treeMap);
            }
            TreeMap treeMap2 = (TreeMap) treeMap;
            if (treeMap2.containsKey(Integer.valueOf(i2))) {
                Objects.toString(treeMap2.get(Integer.valueOf(i2)));
                cp.toString();
            }
            treeMap2.put(Integer.valueOf(i2), cp);
        }
    }

    public C1379hN(HV hv) {
        this.a = new LinkedHashMap(hv.l);
    }
}
