List存每一天的数据和每一天的总数这样要怎么存取。

有大神吗?求指导。 每一天的数据和每一天的总数怎么存放到List中去。

你说的是Android,h还是其他的

List> lists=new ArrayList>();
Map map=new HashMap();
map.put("name", "ddd");
Map map1=new HashMap();
map1.put("name", "ccc");
map1.put("age", 43);
lists.add(map);
lists.add(map1);