Modifier and Type | Field and Description |
---|---|
(package private) java.util.Hashtable<java.lang.String,MenuItem> |
menuItems |
Constructor and Description |
---|
CafeMenu() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(java.lang.String name,
java.lang.String description,
boolean vegetarian,
double price) |
java.util.Iterator |
createIterator() |
java.util.Hashtable |
getItems() |
public CafeMenu()
public void addItem(java.lang.String name, java.lang.String description, boolean vegetarian, double price)
public java.util.Hashtable getItems()
public java.util.Iterator createIterator()
createIterator
in interface Menu