class interface ITERATOR_ON_LINKED_LIST[E]
-- Please do not use this class directly. Look at ITERATOR.
creation
make (ll: LINKED_LIST[E])
require
ll /= Void
ensure
linked_list = ll
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_LINKED_LIST
make (ll: LINKED_LIST[E])
require
ll /= Void
ensure
linked_list = ll
end of ITERATOR_ON_LINKED_LIST[E]