class FixedSizePriorityQueue {

	public FixedSizePriorityQueue(int maxSize, Comparator<? super E> comparator) {
		if (maxSize <= 0) {
			throw new IllegalArgumentException("maxSize = " + maxSize + "; expected a positive integer.");
		}
		Objects.requireNonNull(comparator, "comparator was null");
		this.priorityQueue = new PriorityQueue<E>(maxSize, comparator);
		this.comparator = priorityQueue.comparator();
		this.maxSize = maxSize;
	}

	public  FixedSizePriorityQueue(int maxSize, Comparator<? super E> comparator);

}