迭代器

Iterator 

hasNext() 如果有元素,返回 true 

next()  返回迭代的下一个元素 

remove()

原文地址:https://www.cnblogs.com/q2546/p/10784565.html