• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding HashMap

 
Saral Saxena
Ranch Hand
Posts: 203
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

I was going through collections , could you please provide me with any real life scenarios that where we should use hash map...!!
 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which scenarios can you think of?
 
Saral Saxena
Ranch Hand
Posts: 203
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maneesh Godbole wrote:Which scenarios can you think of?


well where very large collection I have which is unordered but this not that much clear..!!
 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is not clear?
 
Manoj Kumar Jain
Ranch Hand
Posts: 198
Java Linux Oracle
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saral Saxena wrote:
Maneesh Godbole wrote:Which scenarios can you think of?


well where very large collection I have which is unordered but this not that much clear..!!


This is not about a large or small collection. HashMap store the Key Value pair. So, you can store key/value and and use them.
What is not much clear I couln't get you..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic