HashMap
Creates a new empty HashMap.
Creates a new empty HashMap with the specified initial capacity.
Capacity is the maximum number of entries the map is able to store in current internal data structure. When the map gets full by a certain default load factor, its capacity is expanded, which usually leads to rebuild of the internal data structure.
Parameters
the initial capacity of the created map. Note that the argument is just a hint for the implementation and can be ignored.
Throws
if initialCapacity is negative.
Creates a new empty HashMap with the specified initial capacity and load factor.
Capacity is the maximum number of entries the map is able to store in current internal data structure. Load factor is the measure of how full the map is allowed to get in relation to its capacity before the capacity is expanded, which usually leads to rebuild of the internal data structure.
Parameters
the initial capacity of the created map. Note that the argument is just a hint for the implementation and can be ignored.
the load factor of the created map. Note that the argument is just a hint for the implementation and can be ignored.
Throws
if initialCapacity is negative or loadFactor is non-positive.
Creates a new HashMap filled with the contents of the specified original map.
Creates a new empty HashMap.
Creates a new empty HashMap with the specified initial capacity.
Capacity is the maximum number of entries the map is able to store in current internal data structure. When the map gets full by a certain default load factor, its capacity is expanded, which usually leads to rebuild of the internal data structure.
Parameters
the initial capacity of the created map. Note that the argument is just a hint for the implementation and can be ignored.
Throws
if initialCapacity is negative.
Creates a new empty HashMap with the specified initial capacity and load factor.
Capacity is the maximum number of entries the map is able to store in current internal data structure. Load factor is the measure of how full the map is allowed to get in relation to its capacity before the capacity is expanded, which usually leads to rebuild of the internal data structure.
Parameters
the initial capacity of the created map. Note that the argument is just a hint for the implementation and can be ignored.
the load factor of the created map. Note that the argument is just a hint for the implementation and can be ignored.
Throws
if initialCapacity is negative or loadFactor is non-positive.
Creates a new HashMap filled with the contents of the specified original map.
Creates a new empty HashMap.
Creates a new empty HashMap with the specified initial capacity.
Capacity is the maximum number of entries the map is able to store in current internal data structure. When the map gets full by a certain default load factor, its capacity is expanded, which usually leads to rebuild of the internal data structure.
Parameters
the initial capacity of the created map. Note that the argument is just a hint for the implementation and can be ignored.
Throws
if initialCapacity is negative.
Creates a new empty HashMap with the specified initial capacity and load factor.
Capacity is the maximum number of entries the map is able to store in current internal data structure. Load factor is the measure of how full the map is allowed to get in relation to its capacity before the capacity is expanded, which usually leads to rebuild of the internal data structure.
Parameters
the initial capacity of the created map. Note that the argument is just a hint for the implementation and can be ignored.
the load factor of the created map. Note that the argument is just a hint for the implementation and can be ignored.
Throws
if initialCapacity is negative or loadFactor is non-positive.
Creates a new HashMap filled with the contents of the specified original map.
Creates a new empty HashMap.
Creates a new empty HashMap with the specified initial capacity.
Capacity is the maximum number of entries the map is able to store in current internal data structure. When the map gets full by a certain default load factor, its capacity is expanded, which usually leads to rebuild of the internal data structure.
Parameters
the initial capacity of the created map. Note that the argument is just a hint for the implementation and can be ignored.
Throws
if initialCapacity is negative.
Creates a new empty HashMap with the specified initial capacity and load factor.
Capacity is the maximum number of entries the map is able to store in current internal data structure. Load factor is the measure of how full the map is allowed to get in relation to its capacity before the capacity is expanded, which usually leads to rebuild of the internal data structure.
Parameters
the initial capacity of the created map. Note that the argument is just a hint for the implementation and can be ignored.
the load factor of the created map. Note that the argument is just a hint for the implementation and can be ignored.
Throws
if initialCapacity is negative or loadFactor is non-positive.
Creates a new HashMap filled with the contents of the specified original map.
Creates a new empty HashMap.
Creates a new empty HashMap with the specified initial capacity.
Capacity is the maximum number of entries the map is able to store in current internal data structure. When the map gets full by a certain default load factor, its capacity is expanded, which usually leads to rebuild of the internal data structure.
Parameters
the initial capacity of the created map. Note that the argument is just a hint for the implementation and can be ignored.
Throws
if initialCapacity is negative.
Creates a new empty HashMap with the specified initial capacity and load factor.
Capacity is the maximum number of entries the map is able to store in current internal data structure. Load factor is the measure of how full the map is allowed to get in relation to its capacity before the capacity is expanded, which usually leads to rebuild of the internal data structure.
Parameters
the initial capacity of the created map. Note that the argument is just a hint for the implementation and can be ignored.
the load factor of the created map. Note that the argument is just a hint for the implementation and can be ignored.
Throws
if initialCapacity is negative or loadFactor is non-positive.
Creates a new HashMap filled with the contents of the specified original map.