getNextSibling (ViewNavigator - Java)

Returns the next sibling entry after the current or specified entry in a view navigator.

Defined in

ViewNavigator

Syntax

public ViewEntry getNextSibling()
    throws NotesException
public ViewEntry getNextSibling(ViewEntry entry)
    throws NotesException

Parameters

ViewEntry entry

An entry in the view. Cannot be null.

Return value

ViewEntry

The sibling entry following the current or specified entry. Returns null if there is no next sibling entry.

Usage

This method moves the current pointer to the retrieved entry unless the return value is null.

Example