Active Iteration
(Cursors)
•During active
iteration, navigation among cursor positions is controlled by the
client.
•An
active iterator (cursor) is appropriate when more than one
container (or more than a single element within the same
container) is being visited simultaneously.
•Use an active iterator
to terminate the iteration without visiting every element in the
container.