ClosedList.Iterator
class ClosedList
{
private Cell head;
private Cell tail;
É
public Iterator getIterator()
  {
  return new Iterator(head);
  }

public class Iterator // inner class to ClosedList
  {
  private Cell current;
  private Cell previous; // keep track of previous

  public Iterator(Cell head)
    {
    current = head;
    previous = null;
    }
    ...


Can export Iterator to outside!