/*
* A simple Queue data structure. Created: 10/23/2005 by Christian M. Zmasek.
* Last modified: 10/23/2005 by Christian M. Zmasek.
- *
+ *
* @author Christian M. Zmasek
- *
+ *
* @version 1.000
*/
public class Queue {
/**
* Dequeues one element from this queue.
- *
+ *
* @return the dequeued object
* @throws NoSuchElementException
* if this queue is empty
// --------------
/**
* Adds Object element to thisqueue.
- *
+ *
* @param element
* the Object to be enqueued
*/
// ---------------
/**
* Returns the LinkedList upon which this queue is based.
- *
+ *
* @return the LinkedList upon which this queue is based
*/
private LinkedList<Object> getData() {
/**
* Returns whether or not this queue is empty.
- *
+ *
* @return true if this queue is empty, false otherwise
*/
public boolean isEmpty() {