public boolean hasNext()
{
   return nextPosition < list.getLength();
} // end hasNext
// Version 4.0
