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