Hitachi

uCosminexus Application Server Security Management Guide


The nextElement method

Organization of this page

Description

Obtains the next user ID from the list. This method differs from the next method in that it does not cause a NamingException and that it returns an object-type value. Reference the value by casting its Object object into a string. If NamingException occurs during the execution of this method, it returns null.

Syntax

public Object nextElement();

Parameters

None

Exception

java.util.NoSuchElementException:

There were no more user IDs in the list when this method was called.

Return value

The next user ID