根据对象某个字段进行排序

list.sort(Comparator.comparing(e -> e.getFlowId()));

 

 

参考:
https://www.cnblogs.com/love-feng/p/11324937.html

相关文章:

  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2021-09-13
  • 2021-12-17
  • 2022-12-23
  • 2021-11-23
  • 2021-06-21
猜你喜欢
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
相关资源
相似解决方案