改造HasMap为链式写法在工作中经常会遇到以下这种写法Map<String,String>hashMap=newHashMap<>();hashMap.put("id","xxx");hashMap.put("name&qu...