用key来提取:map.get(key) 返回的就是key对应的value
Map map= new HashMap();map,put("name","zhangsan");String name=map.get("name");
Set或Entryset方法来通过key值得到value