package d.a.s.h;

/* JADX INFO: loaded from: classes.dex */
public class a<T> {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final Object[] f5909a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public Object[] f5910b;

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

    public a(int i2) {
        Object[] objArr = new Object[i2 + 1];
        this.f5909a = objArr;
        this.f5910b = objArr;
    }

    public void a(T t) {
        int i2 = this.f5911c;
        if (i2 == 4) {
            Object[] objArr = new Object[5];
            this.f5910b[4] = objArr;
            this.f5910b = objArr;
            i2 = 0;
        }
        this.f5910b[i2] = t;
        this.f5911c = i2 + 1;
    }
}
