遇到个这个提示:Unchecked cast from Iterator to Iterator String
Iterator<String> keys = data.keys();
修改为:
Iterator<?> keys = data.keys();
String name = (String) keys.next();
在获取值的时候才进行类型转换
遇到个这个提示:Unchecked cast from Iterator to Iterator String
Iterator<String> keys = data.keys();
修改为:
Iterator<?> keys = data.keys();
String name = (String) keys.next();
在获取值的时候才进行类型转换