*             if the queue is full
	 */
	public void enqueue(E item) throws FullQueueException {
		if (this.isEmpty())
			front = 0;
		if (this.isFull())
			throw new FullQueueException();
		else {
			if (numItems == maxCapacity) {
				if (rear > front) {
					array.set(0, item);
					rear = 0;
				} else if (rear < front) {
					array.set(rear + 1, item);
					rear++;
				}
			} else {
				array.add(item);
				rear++;
			}
			numItems++;
		}

	}