結果 : java loop through list and remove elements