code: public T result() throws NoSuchElementException {
      if (result == NULL_RESULT) {
        if (parent != null) {
          return parent.result();
        }
        throw new NoSuchElementException("There is no result");
      }
      return result;
    }
docs: Get the result.
  
  @return
  @throws NoSuchElementException If there is no result be set.