package mycollection;

public interface Collection {
    int size();

    void clear();

    boolean isEmpty();

    boolean add(Object x);

    boolean remove(Object x);

    boolean contains(Object x);

    Object[] toArray();

    Iterator iterator();
}
