写一段代码在遍历ArrayList时移除一个元素(假设条件remove为true时移除)

NoSuchKey