boolean function ( Ingredient arg0 ) { String loc0 = arg0 . name ; if ( listOfIngredients . get ( loc0 ) == null ) { listOfIngredients . put ( loc0 , arg0 ) ; return true ; } return false ; }
adds ingredient to this dishdata concode_field_sep HashMap<String,Double> amtOfIngredient concode_elem_sep double price concode_elem_sep HashMap<String,Ingredient> listOfIngredients concode_elem_sep String name concode_field_sep String[] getListOfIngredients concode_elem_sep double getAmount