public interface Iterator<T> { public boolean hasNext(); public T next(); }