package defpackage;

import j$.util.DesugarCollections;
import java.util.ArrayList;
import java.util.List;

/* JADX INFO: renamed from: ˋˎᵿ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C1486 {

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public int f6021;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final ArrayList f6022;

    public C1486(int i) {
        switch (i) {
            case 1:
                this.f6022 = new ArrayList();
                this.f6021 = 128;
                break;
            default:
                this.f6022 = new ArrayList();
                this.f6021 = 0;
                break;
        }
    }

    public C1486(ArrayList arrayList) {
        this.f6022 = arrayList;
    }

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public synchronized List m4260() {
        return DesugarCollections.unmodifiableList(new ArrayList(this.f6022));
    }

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public synchronized boolean m4261(List list) {
        this.f6022.clear();
        int size = list.size();
        int i = this.f6021;
        if (size <= i) {
            return this.f6022.addAll(list);
        }
        return this.f6022.addAll(list.subList(0, i));
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public void m4262(InterfaceC5294 interfaceC5294) {
        if (interfaceC5294 == null) {
            ᵕᵩʽᵲ.ᵮᵣᵗˈ("factory == null");
            return;
        }
        int i = this.f6021;
        this.f6021 = i + 1;
        this.f6022.add(i, interfaceC5294);
    }
}
