class interface ITERATOR_ON_COLLECTION[E]
-- Please do not use this class directly. Look at ITERATOR.
creation
make (c: COLLECTION[E])
require
c /= Void
ensure
collection = c
feature(s) from ITERATOR
start
-- Positions the iterator to the first object in the
-- aggregate to be traversed.
is_off: BOOLEAN
-- Returns True when there are no more objects in the
-- sequence.
item: E
-- Returns the object at the current position in the
-- sequence.
require
not is_off
next
-- Positions the iterator to the next object in the
-- sequence.
require
not is_off
feature(s) from ITERATOR_ON_COLLECTION
make (c: COLLECTION[E])
require
c /= Void
ensure
collection = c
end of ITERATOR_ON_COLLECTION[E]