Map map = new HashMap();

Iterator<Entry<String, String>> iter = map.entrySet().iterator();

while(iter.hasNext())

{
          Map.Entry<String, String> entry = (Map.Entry<String, String>)iter.next();
          String key = entry.getKey();
          String value = entry.getValue();

}

相关文章:

  • 2021-09-23
  • 2021-09-10
  • 2022-12-23
  • 2021-11-01
  • 2021-11-30
  • 2021-11-30
  • 2021-06-21
猜你喜欢
  • 2021-09-20
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案