Converts the iterator of map entries into an iterable.
Iterable<MapEntry<K, V>> toIterable() sync* { while (moveNext()) yield current; }