code: public Map<String, List<Cursor>> getCursorsByDocument() {
      return this.getCursors().collect(Collectors.groupingBy((Cursor x) -> x.getDocument()));
    }
docs: Gets cursors by document.
  
  @return the cursors by document