How can I have a HashMap with unique keys in Java? Or even does this make any sense to have unique keys in HashMap or the keys are unique by default? I am a newbie. thx
HasMap has unique keys. as .keySet() returns Set which has unique members