public HashMap (int initialCapacity, float loadFactor)

Constructs an empty HashMap with the specified initial capacity and load factor.

Parameters:
initialCapacity    the initial capacity
loadFactor    the load factor

Exceptions:
IllegalArgumentException    if the initial capacity is negative or the load factor is nonpositive