package d.c.a;

import com.codezjx.andlinker.BaseTypeWrapper;

/* JADX INFO: compiled from: RequestBuilder.java */
/* JADX INFO: loaded from: classes.dex */
public final class q {
    public String a;

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public BaseTypeWrapper[] f2438c;

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

    public q(String str, String str2, int i2, boolean z) {
        this.a = str;
        this.f2437b = str2;
        this.f2438c = new BaseTypeWrapper[i2];
        this.f2439d = z;
    }

    public void a(int i2, BaseTypeWrapper baseTypeWrapper) {
        if (i2 >= 0) {
            BaseTypeWrapper[] baseTypeWrapperArr = this.f2438c;
            if (i2 < baseTypeWrapperArr.length) {
                baseTypeWrapperArr[i2] = baseTypeWrapper;
                return;
            }
        }
        throw new IllegalArgumentException("Index out of range.");
    }
}
