package h.b.o;

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

/* JADX INFO: compiled from: CollectionSerializers.kt */
/* JADX INFO: loaded from: classes.dex */
@g.i
public abstract class q<E, C extends Collection<? extends E>, B> extends p<E, C, B> {
    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public q(h.b.b<E> bVar) {
        super(bVar, null);
        g.h0.c.l.f(bVar, "element");
    }

    @Override // h.b.o.a
    public Iterator i(Object obj) {
        Collection collection = (Collection) obj;
        g.h0.c.l.f(collection, "<this>");
        return collection.iterator();
    }

    @Override // h.b.o.a
    public int j(Object obj) {
        Collection collection = (Collection) obj;
        g.h0.c.l.f(collection, "<this>");
        return collection.size();
    }
}
