File
Doc
Category
Size
Date
Package
ShoppingCartItem.java
API Doc
Example
1235
Tue Dec 12 18:59:40 GMT 2000
cart
ShoppingCartItem
java.lang.Object
public class ShoppingCartItem extends Object
Fields Summary
Object
item
int
quantity
Constructors Summary
public ShoppingCartItem
(
Object
anItem)
item = anItem; quantity = 1;
Methods Summary
public void
decrementQuantity
()
quantity--;
public
java.lang.Object
getItem
()
return item;
public
int
getQuantity
()
return quantity;
public void
incrementQuantity
()
quantity++;
Java Code Source