Collection/Iterator

interface Collection<E> {
    int size (); boolean isEmpty ();
    boolean add (E o);  
    boolean addAll (Collection<? extends E> c);
    Iterator<E> iterator(); 
}
interface Iterator<E> {
    boolean hasNext ();
    E next ();
    void remove ();
}



Johannes Waldmann 2006-06-22