boolean function ( String arg0 ) { int loc0 = itemSearch ( arg0 ) ; if ( loc0 < 0 ) { throw new ShoppingCenterException ( "srini_string" ) ; } else { if ( stock . get ( loc0 ) . getCount ( ) >= 1 ) { stock . get ( loc0 ) . decrementCount ( ) ; return true ; } else { return false ; } } }
method to remove items from the stock concode_field_sep ListArrayBasedPlus<Item> stock concode_elem_sep int lowStockLevel concode_field_sep void sortItems concode_elem_sep void setStock concode_elem_sep int itemSearch concode_elem_sep void restockItem concode_elem_sep ListArrayBasedPlus<Item> getStock concode_elem_sep String getLowItems