void function ( CartItem arg0 ) { if ( purchasedList . contains ( arg0 ) ) { int loc0 = purchasedList . indexOf ( arg0 ) ; CartItem loc1 = ( CartItem ) purchasedList . get ( loc0 ) ; loc1 . setEffect ( new Highlight ( ) ) ; } else { purchasedList . add ( arg0 ) ; } }
increases the purchased quantity of an item by 1 . adds the item to the cart list if it was not already there . concode_field_sep StoreTable storeTable concode_elem_sep Random random concode_elem_sep Effect cartEffect concode_elem_sep ArrayList purchasedList concode_field_sep String getItemString concode_elem_sep ArrayList getPurchasedList concode_elem_sep void setCartEffect concode_elem_sep String getTotalPriceFormatted concode_elem_sep void removeFromPurchases concode_elem_sep Hashtable getStoreTable concode_elem_sep void loadDefaults concode_elem_sep int getPurchasedCount concode_elem_sep void setStoreTable concode_elem_sep void cartListener concode_elem_sep void setPurchasedList concode_elem_sep Effect getCartEffect concode_elem_sep ArrayList getStoreTableAsList