package k.a.p;

/* JADX INFO: compiled from: CollectionSerializers.kt */
/* JADX INFO: loaded from: classes.dex */
public abstract class g1<Array> {
    public static /* synthetic */ void c(g1 g1Var, int i2, int i3, Object obj) {
        if (obj != null) {
            throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: ensureCapacity");
        }
        if ((i3 & 1) != 0) {
            i2 = g1Var.d() + 1;
        }
        g1Var.b(i2);
    }

    public abstract Array a();

    public abstract void b(int i2);

    public abstract int d();
}
