761762763764765766767768
org.openntf.domino.impl.DocumentCollection mergeColl = (org.openntf.domino.impl.DocumentCollection) db .createMergableDocumentCollection(); for (int nid : getNids()) { mergeColl.merge(nid); } return new DocumentCollectionIterator(mergeColl); } }
843844845846847848849
* @see java.lang.Iterable#iterator() */ @Override public Iterator<org.openntf.domino.Document> iterator() { //return new DocumentIterator(this); return new DocumentCollectionIterator(this); }