What is the difference between HashSet and HashMap?
Page 1 of 1
What is the difference between HashSet and HashMap?
HashSet contains only values whereas HashMap contains entry(key,value). HashSet can be iterated but HashMap need to convert into Set to be iterated.
Similar topics
» What is the difference between HashSet and TreeSet?
» What is the difference between HashMap and TreeMap?
» What is the difference between HashMap and Hashtable?
» What is the difference between HashMap and TreeMap?
» What is the difference between HashMap and Hashtable?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|