Using Iterators to remove elements from a Java Collection

前端 未结 0 495
臣服心动
臣服心动 2021-02-01 13:40

There are many posts that suggest using Iterators to safely remove an element from a collection. Something like this:

Iterator i = books.iterator();
w         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题