首页 > 代码库 > java

java

1.map初始化 

  HashMap<String, String> map = new HashMap<String, String>() {                     
    {      put("Name", "June");      put("QQ", "2572073701"); }   };

 

java