core :: HashSetIterator :: defaultinit
private class HashSetIterator[E]
super Iterator[E]
redef fun is_ok do return _node != null
redef fun item
do
assert is_ok
return _node._key
end
redef fun next
do
assert is_ok
_node = _node._next_item
end
# The set to iterate on
var set: HashSet[E]
# The position in the internal map storage
var node: nullable HashSetNode[E] = null
init
do
_node = _set._first_item
end
end
lib/core/collection/hash_collection.nit:485,1--511,3