patterns/iterator/simpleiterator/iterator.d

10 lines
100 B
D

module iterator;
import menuitem;
interface Iterator
{
bool hasNext();
MenuItem next();
}