所以就出现了ListIterator(列表迭代器),在使用这个迭代器迭代元素时,是可以对元素进行增、删、改以及别的操作。
基于36个网页-相关网页
它除了拥有普通型的迭代器,还拥有一个增强型迭代器(ListIterator).
基于8个网页-相关网页
Existing element objects can be deleted through the use of a ListIterator, but new ones can only be created using generated create methods, which automatically append them following existing content.
通过使用ListIterator,可以删除现有的元素对象,但只有使用生成的create(创建)方法才能创建新的元素对象,这些方法自动地将这些元素对象添加到现有内容的后面。
youdao
应用推荐
模块上移
模块下移
不移动