I have a HashMap as below (assuming it has 10,0000 elements)
HashMap hm = new HashMap(); hm.put(\
HashMap hm = new HashMap();
hm.put(\
see even if u write same key values multiple times you will just have unique set of pairs. Check that by either iterating or by doing hm.size();