changes the key associated with the index to the new provided key concode_field_sep int[] logicalValueToRealPosition concode_elem_sep int[] realPositionToLogicalValue concode_elem_sep int size concode_elem_sep Key[] keys concode_elem_sep int maxN concode_elem_sep IndexMaxPriorityQueue<Key> copy concode_field_sep Integer next concode_elem_sep Key max concode_elem_sep Key keyOf concode_elem_sep void sink concode_elem_sep int deleteMax concode_elem_sep boolean isEmpty concode_elem_sep void insert concode_elem_sep void decreaseKey concode_elem_sep void increaseKey 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 void exchange concode_elem_sep void swim
void function ( int arg0 , Key arg1 ) { if ( arg0 < 0 || arg0 >= maxN ) throw new IndexOutOfBoundsException ( ) ; if ( ! contains ( arg0 ) ) throw new IllegalArgumentException ( "srini_string" ) ; keys [ arg0 ] = arg1 ; swim ( realPositionToLogicalValue [ arg0 ] ) ; sink ( realPositionToLogicalValue [ arg0 ] ) ; }