【发布时间】:2013-09-06 08:31:11
【问题描述】:
我有一个 ArrayList<HashMap<String, String>> arrayList_LatLong = new ArrayList<HashMap<String, String>>(); 的 ArrayList,我将 HashMap 放入该 ArrayList。 HashMap 键值对假设如下
map.put(key1,value1);
map.put(key2,value2);
map.put(key3,value3);
map.put(key4,value4);
map.put(key5,value5);
现在我想要根据 Value1 的 ArrayList 索引,这意味着我有 Value1 并且我想要相应的 ArrayList 索引,这样我也可以从相应的 HashMap 中获取其他值。
【问题讨论】:
-
举例说明..
标签: java android arraylist hashmap