*             if the queue is empty
	 */
	public E dequeue() throws EmptyQueueException {
		if (this.isEmpty())
			throw new EmptyQueueException();
		else {
			E temp = array.get(front);
			if (front < array.size() - 1)
				front++;
			else {
				front = 0;
			}
			if (front == rear) {
				front = -1;
				rear = 0;
			}
			numItems--;
			return temp;
		}
	}