push method

void push(
  1. dynamic item
)

Pushes an item to the priority queue.

Implementation

void push( item ) {
	data.add( item );
	length ++;
	_up( length - 1 );
}