void function ( int arg0 , Key arg1 ) { if ( ! contains ( arg0 ) ) throw new NoSuchElementException ( "srini_string" ) ; keys [ arg0 ] = arg1 ; swim ( qp [ arg0 ] ) ; sink ( qp [ arg0 ] ) ; }
change the key associated with index i to the specified value . concode_field_sep int[] pq concode_elem_sep Key[] keys concode_elem_sep IndexMaxPQ<Key> copy concode_elem_sep int N concode_elem_sep int[] qp concode_field_sep Integer next concode_elem_sep Key keyOf concode_elem_sep void sink concode_elem_sep void change concode_elem_sep boolean isEmpty concode_elem_sep void insert concode_elem_sep void increaseKey concode_elem_sep void decreaseKey concode_elem_sep boolean hasNext concode_elem_sep void main concode_elem_sep boolean less concode_elem_sep void delete concode_elem_sep void remove concode_elem_sep boolean contains concode_elem_sep Iterator<Integer> iterator concode_elem_sep int size concode_elem_sep int maxIndex concode_elem_sep Key maxKey concode_elem_sep void exch concode_elem_sep void swim concode_elem_sep int delMax