Method Summary |
|
public synchronized void | clear() Clear all elements from queue. |
public synchronized void | insert(Object element) Insert an element into queue. |
public synchronized boolean | isEmpty() Test if queue is empty. |
public synchronized Object | peek() Return element on top of heap but don't remove it. |
public synchronized Object | pop() Return element on top of heap and remove it. |
public synchronized String | toString() Returns a string representation of the underlying queue. |