getPrevSibling (ViewNavigator - Java)

Returns the previous sibling entry of the current or specified entry in a view navigator.

Defined in

ViewNavigator

Syntax

public ViewEntry getPrevSibling()
    throws NotesException
public ViewEntry getPrevSibling(ViewEntry entry)
    throws NotesException

Parameters

ViewEntry entry

An entry in the view. Cannot be null.

Return value

ViewEntry

The sibling entry preceding the current or specified entry. Returns null if there is no previous sibling entry.

Usage

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

Example