add a new stock . curl - v - x post - h `` content-type : application/json '' \ - d ' `` symbol '' : `` bar '' , `` name '' : `` bar inc. '' , \ `` last '' :149.62 , `` low '' :150.78 , `` high '' :149.18 , `` createdbyhost '' : `` 10.100.1.192 '' ' \ http://localhost:8080/stockquote concode_field_sep Map<String,Stock> stockQuotes concode_field_sep void activate concode_elem_sep Response getQuote concode_elem_sep String toString concode_elem_sep Stocks getAllStocks concode_elem_sep void deactivate
void function ( Stock arg0 ) { stockQuotes . put ( arg0 . getSymbol ( ) , arg0 ) ; }