UNB/ CS/ David Bremner/ teaching/ java/ Foo.java
import java.util.Iterator;
class Foo implements Iterator{

  public boolean hasNext(){
    return false;
  }

  public Object next(){
    return null;
  }
  
  public void remove(){
    throw new UnsupportedOperationException();
  }
}