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