Inserts a document into the collection at a specific position.
Parameters: document - A document. Parameters: position - The position of the document after insertion,starting with 0. throws: DocumentException - when something went wrong.
Checks if this collection contains a specific document.
Parameters: document - The document to check. A boolean value. throws: DocumentException - when something went wrong.
Returns the first position of this document in the collection.
Parameters: document - The document. An integer. throws: DocumentException - when the document is not contained.
Removes a document from the collection.
Parameters: document - A document. throws: DocumentException - when the document is not containedor another error occurs.