code: private boolean moveToFollowingNode(final INodeReadTrx paramRtx, final ERevision paramRevision)
          throws TTIOException {
          boolean moved = false;
          while (!((ITreeStructData)paramRtx.getNode()).hasRightSibling()
              && ((ITreeStructData)paramRtx.getNode()).hasParent() && paramRtx.getNode().getDataKey() != mRootKey) {
              moved = paramRtx.moveTo(paramRtx.getNode().getParentKey());
              if (moved) {
                  switch (paramRevision) {
                  case NEW:
                      mDepth.decrementNewDepth();
                      break;
                  case OLD:
                      mDepth.decrementOldDepth();
                      break;
                  }
              }
          }
  
          if (paramRtx.getNode().getDataKey() == mRootKey) {
              paramRtx.moveTo(ROOT_NODE);
          }
  
          moved = paramRtx.moveTo(((ITreeStructData)paramRtx.getNode()).getRightSiblingKey());
          return moved;
      }
docs: Move to next following node.
  
  @param paramRtx
  the {@link IReadTransaction} to use
  @param paramRevision
  the {@link ERevision} constant
  @return true, if cursor moved, false otherwise
  @throws TTIOException