public class PancakeHouseMenu extends java.lang.Object implements Menu
Constructor and Description |
---|
PancakeHouseMenu() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(java.lang.String name,
java.lang.String description,
boolean vegetarian,
double price) |
Iterator |
createIterator() |
java.util.ArrayList<MenuItem> |
getMenuItems() |
java.lang.String |
toString() |
public PancakeHouseMenu()
public void addItem(java.lang.String name, java.lang.String description, boolean vegetarian, double price)
public java.util.ArrayList<MenuItem> getMenuItems()
public Iterator createIterator()
createIterator
in interface Menu
public java.lang.String toString()
toString
in class java.lang.Object