• Post Reply Bookmark Topic Watch Topic
  • New Topic

HashMap - loadfactor, capacity and order  RSS feed

 
Patricia Samuel
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,

I was going through the Javadoc of HashMap class and stuck on this line
This class makes no guarantees as to
* the order of the map; in particular, it does not guarantee that the order
* will remain constant over time.


I am not able to understand the meaning of the order here.

Along with , could you help me in understanding the loadfactor and capacity of HashMap.

Thanks in anticipation.

Regards
Patricia
 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does this old thread help? It might not help, as ask again when you have read it.
 
Patricia Samuel
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Dear ... it helps for me......I got the point behind loadfactor and capacity.

Thanks again and apologize for starting the same thread again.

Regards,
Patricia
 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're welcome And you weren't to know there was an old thread.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!