class Collection extends ArrayList<E> implements CollectionListener<E> {

    @Override
    public void clear() {
        for(Iterator<E> iter = this.iterator(); iter.hasNext(); ) {
            iter.next();
            iter.remove();
        }
    }

    public  Collection();
    public  Collection(java.util.Collection c);

}