Other specific iterators are private. So this PR uniformize with HashMapIterator.
@privat you should check this.
Pull-Request: #1753
Reviewed-by: Jean Privat <jean@pryen.org>
end
# A `MapIterator` over a `HashMap`.
-class HashMapIterator[K, V]
+private class HashMapIterator[K, V]
super MapIterator[K, V]
redef fun is_ok do return _node != null
end
# The map to iterate on
- private var map: HashMap[K, V]
+ var map: HashMap[K, V]
# The current node
- private var node: nullable HashMapNode[K, V] = null
+ var node: nullable HashMapNode[K, V] = null
init
do