Home Java SCJP SCWCD Servlet Submit News Contact Us Site Map


Over 500 magazines for free (including Oracle Magazine)!

Yes all of them are FREE. You can subscribe to ALL of them.
Click here to apply today!

Home > Java > Java Articles

HahaMap Constructors

HashMap ()
Constructs empty HashMap with a default initial capacity 11 and load factor 0.75.

HashMap (int initialCapacity)
Constructs empty HashMap with the specified initial capacity and default load factor 0.75.

HashMap (int initialCapacity, float loadFactor)
Constructs empty HashMap with the specified initial capacity and the specified load factor.

HashMap (Map t)
Constructs a new HashMap with the mappings same as the passed Map.

 

<< HashMap

HashMap Methods >>


Home Java SCJP SCWCD Servlet Site map