public int getSize() {
   return heap.getSize();
 }
 public void enqueue(E newObject) {
   heap.add(newObject);
 }
 public E dequeue() {
   return heap.remove();
 }