associates key with index i. concode_field_sep int[] pq concode_elem_sep int NMAX concode_elem_sep Key[] keys concode_elem_sep IndexMinPQ<Key> copy concode_elem_sep int N concode_elem_sep int[] qp concode_field_sep Integer next concode_elem_sep int delMin concode_elem_sep Key keyOf concode_elem_sep void sink concode_elem_sep void change concode_elem_sep boolean isEmpty concode_elem_sep void decreaseKey concode_elem_sep void increaseKey concode_elem_sep boolean hasNext concode_elem_sep void main concode_elem_sep void delete concode_elem_sep void remove concode_elem_sep boolean contains concode_elem_sep void changeKey concode_elem_sep Iterator<Integer> iterator concode_elem_sep int size concode_elem_sep Key minKey concode_elem_sep void exch concode_elem_sep int minIndex concode_elem_sep boolean greater concode_elem_sep void swim
void function ( int arg0 , Key arg1 ) { if ( arg0 < 0 || arg0 >= NMAX ) throw new IndexOutOfBoundsException ( ) ; if ( contains ( arg0 ) ) throw new IllegalArgumentException ( "srini_string" ) ; N ++ ; qp [ arg0 ] = N ; pq [ N ] = arg0 ; keys [ arg0 ] = arg1 ; swim ( N ) ; }