determines amount of purchased items . 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 void setStoreTable concode_elem_sep void cartListener concode_elem_sep void setPurchasedList concode_elem_sep Effect getCartEffect concode_elem_sep ArrayList getStoreTableAsList concode_elem_sep void addToPurchases
int function ( ) { Iterator loc0 = purchasedList . iterator ( ) ; int loc1 = 0 ; while ( loc0 . hasNext ( ) ) { loc1 += ( ( CartItem ) loc0 . next ( ) ) . getPurchasedQuantity ( ) ; } return ( loc1 ) ; }