Iterator<Map<String, Object>> it = list.iterator();
while (it.hasNext())
{
if(condition){
it.remove();
}
}
循环list,删除指定元素
最新推荐文章于 2023-12-16 09:00:00 发布
Iterator<Map<String, Object>> it = list.iterator();
while (it.hasNext())
{
if(condition){
it.remove();
}
}