getPrevEntry (ViewEntryCollection - Java)

Gets the entry immediately preceding the current or a specified entry in a view entry collection.

Defined in

ViewEntryCollection

Syntax

public ViewEntry getPrevEntry()
    throws NotesException
public ViewEntry getPrevEntry(ViewEntry entry)
    throws NotesException

Parameters

ViewEntry entry

Any entry in the view entry collection. Cannot be null.

Return value

ViewEntry

The entry preceding the current or specified entry. If there is no previous entry, returns null.

Usage

In loops you should recycle the ViewEntry object on each iteration. Use a temporary object to save and restore the object.

Example