java - How a hash map load factor is determined during initialisation? -
when hash map initialised, 16 slots created. them empty in beginning. load factor ratio of number of elements occupied size of hash map. default or initial load factor must 0 right? while referring java book deitel , deitel says default load factor 0.75. how possible?
from javadoc
the load factor measure of how full hash table allowed before capacity automatically increased.
it's threshold.
Comments
Post a Comment