package e.a.q;

import java.util.Collection;
import java.util.Iterator;

/* JADX INFO: compiled from: CollectionSerializers.kt */
/* JADX INFO: loaded from: classes.dex */
@d.n
public abstract class r<E, C extends Collection<? extends E>, B> extends q<E, C, B> {
    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public r(e.a.b<E> bVar) {
        super(bVar, null);
        d.n0.c.s.e(bVar, "element");
    }

    /* JADX INFO: Access modifiers changed from: protected */
    @Override // e.a.q.a
    /* JADX INFO: renamed from: o, reason: merged with bridge method [inline-methods] */
    public Iterator<E> d(C c2) {
        d.n0.c.s.e(c2, "<this>");
        return c2.iterator();
    }

    /* JADX INFO: Access modifiers changed from: protected */
    @Override // e.a.q.a
    /* JADX INFO: renamed from: p, reason: merged with bridge method [inline-methods] */
    public int e(C c2) {
        d.n0.c.s.e(c2, "<this>");
        return c2.size();
    }
}
