package util.nice; import java.util.NoSuchElementException; public interface NiceEnumeration { public boolean hasMoreElements(); public Niceable nextElement() throws NoSuchElementException; }