SyntaxFix
Write A Post
Hire A Developer
Questions
It sounds like the best way is for you to iterate over entries using map.entrySet() since map.containsValue() probably does this anyway.
map.entrySet()
map.containsValue()