public boolean isEmpty()
{
   return (firstNode == null) && (lastNode == null);
} // end isEmpty

public void clear()
{
   firstNode = null;
   lastNode = null;
} // end clear
// Version 4.0
