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