iterator() method

Returns an iterator to iterate over the child objects.

Syntax

Iterator< C > iterator ()

Returns

an iterator to iterate over child objects. Objects will be returned in alphabetically increasing order based on their names.

Usage

an iterator to iterate over child objects. Objects will be returned in alphabetically increasing order based on their names.