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