using foreachloop in hashmap in jaca code example Example: foreach hashmap java hashmap.forEach(BiConsumer<K, V> action)