将 Map<String,Object> 转换为 Map<String,String>
2022-08-31 12:43:17
如何转换为 ?Map<String,Object>
Map<String,String>
这不起作用:
Map<String,Object> map = new HashMap<String,Object>(); //Object is containing String
Map<String,String> newMap =new HashMap<String,String>(map);