I am currently learning Java, having had experience in Python already. I understand that the closest thing to Python dictionaries in Java is HashMap and I am curious if there is a HashMap equivalent for Python's dict.items()/dict.values()/dict.keys() - I understand HashMap has a get() method but I want to retrieve values without knowing the keys of the Map.
If there is no equivalent, how do you recommend I get around this problem? Do not use HashMap at all or?
 
    