会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
java凉凉
首页
管理
2023年6月27日
List排序
摘要: ## List排序 ```java //按照某个字段进行正序排序 list.sort((x,y) ->Integer.compare(Integer.valueOf(x.getCourseDuration()),Integer.valueOf(y.getCourseDuration()))); //
阅读全文
posted @ 2023-06-27 09:42 striver-sc
阅读(19)
评论(0)
推荐(0)
编辑
公告