adds an object to a priorityqueue in log size time . if one tries to add more objects than maxsize from initialize a runtimeexception arrayindexoutofbound is thrown . concode_field_sep int size concode_elem_sep int maxSize concode_elem_sep T[] heap concode_field_sep T pop concode_elem_sep T top concode_elem_sep int size concode_elem_sep void upHeap concode_elem_sep void downHeap concode_elem_sep boolean lessThan concode_elem_sep void clear concode_elem_sep boolean insert concode_elem_sep void initialize concode_elem_sep void adjustTop
void function ( T arg0 ) { size ++ ; heap [ size ] = arg0 ; upHeap ( ) ; }