while(Collections.frequency(commandList,6)>=2){
commandList.remove(Integer.valueOf(6));
}
java 删除ArrayList中前面重复的元素
最新推荐文章于 2023-12-20 11:07:30 发布
while(Collections.frequency(commandList,6)>=2){
commandList.remove(Integer.valueOf(6));
}