HashMap
Map<String,Integer> userMap = new HashMap(); userMap.put("laowang", new Integer(520)); userMap.get("laowang");
HashMap Constructor
HashMap(int initialCapacity, float loadFactor):loadFactor是负载因子,满足条件就会扩容。