Store function ( int arg0 ) { if ( arg0 == Store . CASH ) return ( Store ) cStore ; else return ( Store ) dStore ; }
this method returns a store of a specified type i &#46; e &#46; cash or drink &#46; concode_field_sep DrinksStore dStore concode_elem_sep PropertyLoader cashLoader concode_elem_sep CashStore cStore concode_elem_sep PropertyLoader drinksLoader concode_field_sep void initializeCashStore concode_elem_sep void initializeStores concode_elem_sep void storeCoin concode_elem_sep void initializeDrinkStore concode_elem_sep int getStoreSize concode_elem_sep StoreItem[] getStoreItems concode_elem_sep void setPrice concode_elem_sep void closeDown concode_elem_sep void changeStoreQty concode_elem_sep void saveDrinksProperties concode_elem_sep int transferAll concode_elem_sep void dispenseDrink concode_elem_sep void saveCashProperties concode_elem_sep void initialize concode_elem_sep void giveChange concode_elem_sep StoreItem getStoreItem concode_elem_sep int getTotalCash