code: public Object next()
    {
      if (tc.isEntryEnabled()) Tr.entry(tc, "next",this);
  
      Object nextObject = null;
      _removeIterator = null;
  
      if (!_empty)
      {
        if (_singleObject != null)
        {
          nextObject = _singleObject;
          _singleObject = null;
          _empty = true;
        }
        else
        {
          try
          {
            if ((_iterator1 != null) && (_iterator1.hasNext()))
            {
              nextObject = _iterator1.next();
              _removeIterator = _iterator1;
            }
            else if ((_iterator2 != null) && (_iterator2.hasNext()))
            {
              nextObject = _iterator2.next();
              _removeIterator = _iterator2;
            }
            else
            {
              _empty = true;
            }
          }
          catch(NoSuchElementException exc)
          {
            FFDCFilter.processException(exc, "com.ibm.ws.recoverylog.spi.LogCursorImpl.next", "328", this);
            _empty = true;
          }
        }
      }
  
      // Cache a reference to this object so that the remove method
      // can determine which object will be erased
      _removeObject = nextObject;
      
      final Object preprocessedResult = preprocessResult(nextObject);
  
      if (tc.isEntryEnabled()) Tr.exit(tc, "next", preprocessedResult);
      return preprocessedResult;
    }
docs: <p>
  Returns the next object in the sequence of objects or null if there are no
  further objects to return. Callers must cast the returned object into the
  appropriate type. This type will vary depending  on which method in the
  recovery log service that returned the LogCursorImpl. See these methods for
  further details.
  </p>
  
  <p>
  Any ordering guarantees are imposed by the methods that return LogCursorImpl
  objects. The LogCursorImpl itself does not specify any particular order
  for the objects it returns. Each object will be returned at most once
  from a given LogCursorImpl.
  </p>
  
  @return Object The next object in the sequence of objects or null if there
  are no further objects to return.