Index
All Classes and Interfaces|All Packages|Constant Field Values
I
- id - Variable in class cs2110.Coupon
-
This coupon type's identification number within a grocery simulation; must be positive.
- id() - Method in class cs2110.Coupon
-
Return the ID of this coupon.
- invalidCommand(String) - Method in class cs2110.GrocerySimulator
-
Let the user know if the command that they typed is invalid.
- inventory - Variable in class cs2110.Store
-
A data structure to keep track of the current inventory of the store, implemented using two data structures (HashMap and ArrayList) that we will study later in the semester.
- isFull() - Method in class cs2110.Cart
-
Return true if there is no additional space in this cart for more items, otherwise false.
- Item - Interface in cs2110
-
Represents an (immutable) item that can purchased at a grocery store.
- itemCode() - Method in class cs2110.BulkItem
-
Return the PLU code for this item's product.
- itemCode() - Method in interface cs2110.Item
-
Return a positive integer that identifies the product within the grocery store's point-of-sale system that this Item represents.
- itemCode() - Method in class cs2110.SingleItem
-
Return the UPC code for this item's product.
- itemCodes() - Method in class cs2110.Coupon
-
Return a (defensive) copy of the array of item codes to which the coupon applies.
- items - Variable in class cs2110.RegisterTransaction
-
The items from the cart that is being checking out.
All Classes and Interfaces|All Packages|Constant Field Values