code: public <T> T content(String path, Class<T> targetClass) {
          if (path == null) {
              return null;
          }
          for (SubdocOperationResult<OPERATION> result : resultList) {
              if (path.equals(result.path())) {
                  return interpretResult(result);
              }
          }
          return null;
      }
docs: Attempt to get the value corresponding to the first operation that targeted the given path, casted to a
  specific class.
  If the operation was successful, the value will be returned. Otherwise the adequate {@link SubDocumentException}
  will be thrown (mostly in the case of multiple lookups).
  
  If multiple operations targeted the same path, this method only considers the first one (see
  {@link #content(int, Class)} to get a result by index).
  
  @param path the path to look for.
  @param targetClass the expected type of the content, to use in a cast.
  @return the content if one could be retrieved and no error occurred.