For Each Loop in a Set Java : so my question is as follows.

Lets say I have a HashTable/HashMap with the following {4:1, 3:56, 4:3, 4:5, 9:89, etc.}

I then make the keys of this Map into a keyset by calling map.keySet().

How can I loop through that set to only output the values associated with the key of 4? I want the output to be 1,3,5, therefore I only want the values associated with the key 4? Is this possible, and if so how. Thanks!!