docs: public Object last()
    {
      if (tc.isEntryEnabled()) Tr.entry(tc, "last",this);
  
      Object lastObject = null;
  
      while (hasNext())
      {
        lastObject = next();
      }
  
      if (tc.isEntryEnabled()) Tr.exit(tc, "last",lastObject);
  
      return preprocessResult(lastObject);
    }