package util.nice; import java.util.NoSuchElementException; public interface NiceIterator { void start(); boolean cont(); void next(); Niceable getCurrent(); Niceable getNext() throws NoSuchElementException; boolean hasNext(); void insertNext(Niceable obj); void removeNext() throws NoSuchElementException; }