Returns whether the specified enumeration object has more elements.
Syntax
hasMoreElements( enumeration )
enumeration.hasMoreElements( )
Parameters
enumeration
|
the enumeration object to check.
|
Returns
boolean
|
true if the given enumeration has more elements
false if the given enumeration does not have more elements
|
Example
if enum.hasMoreElements( ) then
println( enum.nextElement( ) )
end
|