我有一个包含10个元素的列表对象,我必须进行条件检查,并从列表中删除一些元素。我已经做了如下,但它并不像预期的那样工作,有输入吗?List<MyDTO> myList = new ArrayList<MyDTO>(); //myist.size () is 10for(MyDTO res : myList){if(res.getResult().equal
我有这样的东西:// the purpose of this function is to filter outthat does not modify (is related to) any of the variables in modifiedVar (left join)
modifiers.removeIfout any candidate modifiedVars that is