add to a particular trader 's inventory of goods concode_field_sep int money concode_elem_sep String name concode_elem_sep String region concode_elem_sep List<Goods> traderGoodsList concode_field_sep void showGoods concode_elem_sep boolean subtractAmount concode_elem_sep Goods findGood
void function ( String arg0 , int arg1 ) { Iterator < Goods > loc0 = traderGoodsList . iterator ( ) ; Goods loc1 ; while ( loc0 . hasNext ( ) ) { loc1 = loc0 . next ( ) ; if ( loc1 . name . equals ( arg0 ) ) { loc1 . quantity += arg1 ; } } }