• cutting off the branch on which you are sitting 这句应该怎么理解

    2016/11/26 浣溪沙 1 评论

整句话是这样子的 Removing elements of a collection while iterating over it is somewhat like cutting off the branch on which you are sitting, but by using Iterators that can be done without a runtime ConcurrentModificationException.  

看不懂作者的这个比喻,有人可以指点一下么。

原文链接

1 收藏


直接登录
最新评论