class SimpleHeapImpl implements Heap<T> {

	@Override
	public T peek() throws EmptyHeapException {
		if (heap.isEmpty()) {
			throw new EmptyHeapException();
		}

		return heap.get(0);
	}

	public  SimpleHeapImpl(Comparator<T> comparator);
	public  SimpleHeapImpl(List<T> list, Comparator<T> comparator);
	public  SimpleHeapImpl(T[] array, Comparator<T> comparator);

}