public Document setContent(int index, Collection<? extends Content> collection) {
    content.remove(index);
    content.addAll(index, collection);
    return this;
  }
public Document setContent(int index, Collection<? extends Content> collection)