I am trying to create a HashMap which
string keys and HashSet of Strings as values. I wrote the following code for this.
The file cvtfile.txt has the following content:
The Output is:
I am not able to make out why is the value set that is read at last is getting mapped to all the keys.
I would be grateful for any comments/suggestions.