tried Map.Entry<K, V> entry : map...

ruled it out of scope to learn currently due to usage of generics.
Iterator it = map.entrySet().iterator();