I have a hashmap setup in the following way:
Key Value
0 XXX
1 XYX
2 XYY
3 XXX
4 YXX
5 YXX
I currently can check if a given value is in the map no problem. But once I determine that a value is in the map, how do I return the key or keys at which a given value was found? This is crucial for me to be able to do. I know values are not unique but there has to be a way to return which key or keys have that value.
Thanks