JAVA/CORBA CLASSES


getNthEntry method
Example

Gets the entry at a specified position in a view entry collection.

Defined in

ViewEntryCollection

Syntax

public ViewEntry getNthEntry(int n)
   throws NotesException

Parameters

int n


Return value

ViewEntry


Usage

View collections are renumbered when deletions occur so that the positions of entries after the deleted entry change.

Using getNthEntry to iterate through a loop is strongly discouraged for performance reasons. See getFirstEntry, getLastEntry, getNextEntry, and getPrevEntry for the preferred loop structure.

Language cross-reference

GetNthEntry method in Java ViewEntryCollection class

Example
See Also