// TODO: Remove each 'todo' comment once I implement each part! // TODO: class comment header import java.util.Arrays; import java.util.Comparator; import java.util.Iterator; import java.util.NoSuchElementException; public class HeapPriorityQueue implements PriorityQueue { // TODO: declare any private fields here // TODO: comment header public HeapPriorityQueue() { // TODO: implement this constructor } // TODO: comment header public HeapPriorityQueue(int capacity, Comparator comparator) { // TODO: implement this constructor } // TODO: comment header public void add(E value) { // TODO: implement this method } // TODO: comment header public void clear() { // TODO: implement this method } // TODO: comment header public boolean contains(E value) { // TODO: implement this method return false; } // TODO: comment header public boolean isEmpty() { // TODO: implement this method return false; } // TODO: comment header public Iterator iterator() { // TODO: implement this method return null; } // TODO: comment header public E peek() { // TODO: implement this method return null; } // TODO: comment header public E remove() { // TODO: implement this method return null; } // TODO: comment header public void remove(E value) { // TODO: implement this method } // TODO: comment header public int size() { // TODO: implement this method return 0; } // TODO: comment header public String toString() { // TODO: implement this method return null; } }