boolean function ( int arg0 , int arg1 ) { return keys [ pq [ arg0 ] ] . compareTo ( keys [ pq [ arg1 ] ] ) < 0 ; }
general helper functions 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 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 int maxIndex concode_elem_sep Key maxKey concode_elem_sep void exch concode_elem_sep void swim concode_elem_sep int delMax