Tuesday, 19 April 2011

Which data structure HashSet implements

HashSet implements hashmap internally to store the data. The data passed to hashset is stored as key in hashmap with null as value.

No comments:

Post a Comment