android 如果map<string,map<string,list<string>>> 怎么取出list值
展开全部
参考如下代码:
for(int i=0;i<mapList.size();i++){
Map<String,Object> map= mapList.get(i);
Set<String> set = map.keySet();
Iterator<String> its = set.iterator();
while (its.hasNext()) {
// key
String key = its.next();
// value
Object value = map.get(key);
}
}
for(int i=0;i<mapList.size();i++){
Map<String,Object> map= mapList.get(i);
Set<String> set = map.keySet();
Iterator<String> its = set.iterator();
while (its.hasNext()) {
// key
String key = its.next();
// value
Object value = map.get(key);
}
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询