1 module java.util.Iterator; 2 3 import java.lang.all; 4 5 interface Iterator { 6 public bool hasNext(); 7 public Object next(); 8 public void remove(); 9 } 10 11