public void clear() {Iterator<E> it = iterator();while (it.hasNext()) {it.next();it.remove();}}
public virtual void clear(){java.util.Iterator<E> it = iterator();while (it.hasNext()){it.next();it.remove();}}