What are differences in HashSet vs HashMap in Java

Tutorials Shared by the Internet Community

Advertisements


Synopsis

have you used hashmap or hashset, if yes then you must be aware of where to use hashmap and where we can use hashset. if not then go and read this art

Statistics

  • Total Hits - 27017

  • Total Votes - 105 votes

  • Vote Up - 45 votes

  • Vote Down - 60 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/Collections

  • Submitted By - Javin Paul

  • Submitted on - 2011-09-24 12:00:46

Description

have you used hashmap or hashset, if yes then you must be aware of where to use hashmap and where we can use hashset. if not then go and read this article which explains difference between both hashmap and hashset and enable you to make correct decision on when to use what next time. written in simple and easy to understand language. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements