且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用 ListIterator?

更新时间:2023-01-14 11:32:37

第一个从列表的开头开始,因此没有任何先前的元素.

The first one starts from the beginning of the list, and thus doesn't have any previous element.

第二个从结尾开始,因此包含前面的元素.

The second one starts from the end, and thus has previous elements.

就这么简单.