getNextEntry (ViewEntryCollection - Java)

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

Defined in

ViewEntryCollection

Syntax

public ViewEntry getNextEntry()
    throws NotesException
public ViewEntry getNextEntry(ViewEntry entry)
    throws NotesException

Parameters

ViewEntry entry

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

Return value

ViewEntry

The entry following the current or specified entry. If there is no next 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