void function ( Stock arg0 ) { Log . d ( TAG , "srini_string" + arg0 . toString ( ) ) ; updateStmt . bindDouble ( 1 , arg0 . getCurrentPrice ( ) ) ; updateStmt . bindLong ( 2 , arg0 . getId ( ) ) ; updateStmt . execute ( ) ; }
updates the current price of a stock stored in the database . concode_field_sep String TABLE_NAME concode_elem_sep String MAX_PRICE concode_elem_sep String PRICE_PAID concode_elem_sep String INSERT_SQL concode_elem_sep String MIN_PRICE concode_elem_sep String UPDATE_SQL concode_elem_sep String CREATE_TABLE concode_elem_sep String QUANTITY concode_elem_sep int DB_VERSION concode_elem_sep String TAG concode_elem_sep String SYMBOL concode_elem_sep SQLiteStatement updateStmt concode_elem_sep String CURRENT_PRICE concode_elem_sep String NAME concode_elem_sep String DB_NAME concode_elem_sep SQLiteOpenHelper helper concode_elem_sep Context context concode_elem_sep String ID concode_elem_sep String READ_SQL concode_elem_sep SQLiteStatement stmt concode_elem_sep SQLiteDatabase db concode_field_sep Stock addStock concode_elem_sep ArrayList<Stock> getStocks concode_elem_sep void close