package org.xander.behavioral.iterator;

import java.util.Iterator;

public interface Menu {
    void addItem(String name, String description, boolean vegetarian, double price);

    Iterator createIterator();
}

package org.xander.behavioral.iterator;

import java.util.Iterator;

public interface Menu {
    void addItem(String name, String description, boolean vegetarian, double price);

    Iterator<MenuItem> createIterator();
}

Update Menu.java