Load Factor And Resize

$$ \text{load factor} = \frac{\text{items in the table}}{\text{size of the table}} $$

By default load factor is 0.75f in Java HashMap and the default size is 16. When the number of item is over 16 * 0.75 = 12, the HashMap will double in size.