package java.util; public interface Enumeration { public T nextElement(); public boolean hasMoreElements(); }