// @author Frank M. Carrano, Timothy M. Henry
// @version 5.0
public boolean contains(T anEntry)
{
   boolean found = false;
   Node currentNode = firstNode;
   
   while (!found && (currentNode != null))
   {
      if (anEntry.equals(currentNode.getData()))
         found = true;
      else
         currentNode = currentNode.getNextNode();
   } // end while
   
   return found;
} // end contains

