Apart from the fact that HashSet
does not allow duplicate values, what is the difference between HashMap
and HashSet
?
I mean implementation wise? It’s a little bit vague because both use hash tables to store values.
Apart from the fact that HashSet
does not allow duplicate values, what is the difference between HashMap
and HashSet
?
I mean implementation wise? It’s a little bit vague because both use hash tables to store values.