getFirstDocument (DocumentCollection - Java™)
Gets the first document in a collection.
Defined in
Syntax
public Document getFirstDocument()
throws NotesException
Return value
Document
The first document in the collection. If there are no documents in the collection, returns null.