<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title>Bing: Iterator vs Generator Python</title><link>http://www.bing.com:80/search?q=Iterator+vs+Generator+Python</link><description>Search results</description><image><url>http://www.bing.com:80/s/a/rsslogo.gif</url><title>Iterator vs Generator Python</title><link>http://www.bing.com:80/search?q=Iterator+vs+Generator+Python</link></image><copyright>Copyright © 2026 Microsoft. All rights reserved. These XML results may not be used, reproduced or transmitted in any manner or for any purpose other than rendering Bing results within an RSS aggregator for your personal, non-commercial use. Any other use of these results requires express written permission from Microsoft Corporation. By accessing this web page or using these results in any manner whatsoever, you agree to be bound by the foregoing restrictions.</copyright><item><title>Java Iterator（迭代器） - 菜鸟教程</title><link>https://www.runoob.com/java/java-iterator.html</link><description>Java Iterator（迭代器）不是一个集合，它是一种用于访问集合的方法，可用于迭代 ArrayList 和 HashSet 等集合。 Iterator 是 Java 迭代器最简单的实现，ListIterator 是 Collection API 中的接口， 它扩展了 Iterator 接口。 迭代器接口定义了几个方法，最常用的是以下三个：</description><pubDate>Mon, 01 Jun 2026 02:47:00 GMT</pubDate></item><item><title>C++迭代器iterator详解-CSDN博客</title><link>https://blog.csdn.net/QIANGWEIYUAN/article/details/89184546</link><description>迭代器iterator是C++ STL的组件之一，作用是 用来遍历容器，而且是 通用的遍历容器元素的方式，无论容器是基于什么数据结构实现的， 尽管不同的数据结构，遍历元素的方式不一样，但是用迭代器遍历不同容器的代码是完全一样的。</description><pubDate>Sun, 31 May 2026 13:04:00 GMT</pubDate></item><item><title>迭代器（Iterator）：遍历数据结构的利器 - 知乎</title><link>https://zhuanlan.zhihu.com/p/690962227</link><description>一、什么是迭代器？ 迭代器（Iterator）是一种设计模式，主要用于遍历数据结构（如列表、数组、集合等）。 迭代器将数据结构的遍历过程抽象化，使得程序员可以专注于处理数据，而无需关心遍历的具体实现细节。 二、迭代器的作用 迭代器的主要作用如下：</description><pubDate>Sat, 30 May 2026 23:21:00 GMT</pubDate></item><item><title>迭代器 - 维基百科，自由的百科全书</title><link>https://zh.wikipedia.org/wiki/%E8%BF%AD%E4%BB%A3%E5%99%A8</link><description>A user-defined iterator usually takes the form of a code reference that, when executed, calculates the next item in a list and returns it. When the iterator reaches the end of the list, it returns an agreed-upon value.</description><pubDate>Thu, 28 May 2026 08:50:00 GMT</pubDate></item><item><title>使用Iterator - Java教程 - 廖雪峰的官方网站</title><link>https://liaoxuefeng.com/books/java/collection/iterator/index.html</link><description>我们把这种通过 Iterator 对象遍历集合的模式称为迭代器。 使用迭代器的好处在于，调用方总是以统一的方式遍历各种集合类型，而不必关心它们内部的存储结构。 例如，我们虽然知道 ArrayList 在内部是以数组形式存储元素，并且，它还提供了 get(int) 方法。</description><pubDate>Fri, 29 May 2026 03:48:00 GMT</pubDate></item><item><title>Iterator (Java Platform SE 8 ) - Oracle</title><link>https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html</link><description>Iterators allow the caller to remove elements from the underlying collection during the iteration with well-defined semantics. Method names have been improved. This interface is a member of the Java Collections Framework.</description><pubDate>Sun, 31 May 2026 01:30:00 GMT</pubDate></item><item><title>Java Iterator（迭代器）（超详细） - Java学习者</title><link>https://www.javaxuexizhe.cn/article/java-iterator-tutorial</link><description>掌握 Java Iterator（迭代器）的高效遍历方式，轻松应对集合类（List、Set、Map 等）的遍历挑战。 本文深入解析 Java Iterator 的工作原理，介绍如何使用 `hasNext ()`、`next ()` 和 `remove ()` 方法安全、可控地访问和修改集合元素。</description><pubDate>Sun, 31 May 2026 12:57:00 GMT</pubDate></item><item><title>C++迭代器（STL迭代器）iterator详解 - C语言中文网</title><link>https://c.biancheng.net/view/338.html</link><description>要访问顺序容器和关联容器中的元素，需要通过“迭代器（iterator）”进行。 迭代器是一个变量，相当于容器和操纵容器的算法之间的中介。 迭代器可以指向容器中的某个元素，通过迭代器就可以读写它指向的元素。 从这一点上看，迭代器和 指针 类似。</description><pubDate>Thu, 28 May 2026 00:07:00 GMT</pubDate></item><item><title>c++迭代器（iterator）详解 - 程序员修练之路 - 博客园</title><link>https://www.cnblogs.com/hdk1993/p/4419779.html</link><description>1. 迭代器 (iterator)是一中检查容器内元素并遍历元素的数据类型。 (1) 每种容器类型都定义了自己的迭代器类型，如vector: vector&lt;int&gt;::iterator iter;这条语句定义了一个名为iter的变量，它的数据类型是由vector&lt;int&gt;定义的iterator类型。 (2) 使用迭代器读取vector中的每一个 ...</description><pubDate>Sat, 30 May 2026 13:05:00 GMT</pubDate></item><item><title>Iterator in Java - GeeksforGeeks</title><link>https://www.geeksforgeeks.org/java/iterators-in-java/</link><description>An Iterator in Java is one of the most commonly used cursors in the Java Collections Framework. It is used to traverse or iterate through elements of a collection one by one.</description><pubDate>Sun, 31 May 2026 01:08:00 GMT</pubDate></item></channel></rss>