Collections.sort(list, new Comparator<Map<Object, Object>>() {
            public int compare(Map<Object, Object> o1, Map<Object, Object> o2) {
                String map1value = (String) o1.get("date");
                String map2value = (String) o2.get("date");
                return map1value.compareTo(map2value);
            }
        });
源数据
List<Map<Object,Object>> list

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-01-09
猜你喜欢
  • 2021-12-23
  • 2022-12-23
  • 2021-12-23
  • 2021-08-26
  • 2022-12-23
  • 2022-03-07
相关资源
相似解决方案