Easy solution is to create a copy of the list and iterate through that. for (Integer integer : new ArrayList<>(nums)) { if (integer < 3) ...
確定! 回上一頁