会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
才没有木头
博客园
首页
新随笔
联系
订阅
管理
2021年10月14日
list <对象>将不满足条件的对象移除,采用迭代器
摘要: //将不需要的对象去掉Iterator<TableBean> it = list.iterator();int index = 0;while (it.hasNext()){ TableBean next = it.next(); if (next.getFIELDENNAME().equals("
阅读全文
posted @ 2021-10-14 10:38 才没有木头
阅读(153)
评论(0)
推荐(0)
公告