|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Listable in foodManagement |
|---|
| Classes in foodManagement that implement Listable | |
|---|---|
class |
Entree
An IMMUTABLE class that represents a list of food and a name. |
class |
Food
An IMMUTABLE class that represents an item that might be part of an entree in a restaurant. |
| Methods in foodManagement that return Listable | |
|---|---|
Listable |
SortedListOfImmutables.get(int i)
Returns a reference to the item in the ith position in the list. |
| Methods in foodManagement with parameters of type Listable | |
|---|---|
void |
SortedListOfImmutables.add(Listable itemToAdd)
Adds an item to the list. |
boolean |
SortedListOfImmutables.checkAvailability(Listable itemToFind)
Checks to see if a particular item is in the list. |
void |
SortedListOfImmutables.remove(Listable itemToRemove)
Removes an item from the list. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||