Modifier and Type | Class and Description |
---|---|
class |
Book
Book
|
class |
CD
CD
|
Modifier and Type | Method and Description |
---|---|
Item |
ItemManager.getItem(int index)
Retrieves an item from a selected position
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Item> |
ItemManager.getAllItems() |
java.util.ArrayList<Item> |
ShoppingCart.getItems() |
Modifier and Type | Method and Description |
---|---|
void |
ShoppingCart.addItem(Item item)
Adds an item to the cart
|
void |
ItemManager.addItem(Item anItem)
Adds an item in the list
|