This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes load factor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "load factor" Watch "load factor" New topic

load factor

sandeep Talari
Ranch Hand

Joined: Dec 24, 2007
Posts: 63
what is the load factor? which comes in linked hashmap's constructor .. one thing i knew was its default value is 0.75 what does it mean how i can make use of the load factor efficiently can anybody explain please.
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
There is a good description of what it does in the general class description of the JavaDoc to HashMap. Did you read it?

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link:
subject: load factor
It's not a secret anymore!