Creates an iterator to loop through.
创建了一个用于循环的迭代器。
Create an iterator to go through the DDO.
创建迭代器以遍历ddo。
Figure 3 shows a class diagram of the iterator pattern.
图3显示了迭代器模式的类图。
Listing 2. Iterator-based equivalent for Listing 1.
清单2。
The pre-call to itertools.tee() preserves the original iterator.
对 itertools.tee() 的预调用保留了原始迭代器。
You can utilize the generator either manually or as an iterator.
可以手工或者作为迭代器来利用这个生成器。
Iterparse returns a Python iterator for the selected element context.
iterparse为所选的元素上下文返回一个python迭代器。
So I'll start you out with an overview of iterator methods in Groovy.
所以,我将从Groovy中迭代器的概述开始。
The main interface of the event iterator-based API is XMLEventReader.
事件迭代器API的主要接口是XMLEventReader。
Both the matched and non-matched rows are fed into the upsert iterator.
匹配与未匹配行都被送入upsert迭代器中。
Similarly, vector declares the nested types iterator and const_iterator.
相同的,vector申明了嵌套的iterator和const_iterator。
Second, Iterator supports a derived (and arguably more powerful) cousin.
第二,Iterator支持派生的(并且可能是更强大的)兄弟成员。
One particularly idiomatic method of REXML elements is the.each iterator.
REXML元素的一个独特的惯用方法是.each迭代器。
In PHP parlance, this means that the object can be treated as an iterator.
在php中,这意味着对象可以当做迭代器。
How does the compiler know that the supplied argument has an iterator method?
编译器如何知道提供的参数有一个iterator方法呢?
The Iterator interface allows any class to look like an array to its clients.
Iterator接口使所有类都可以看似是其使用者的阵列。
Increment the iterator variable iter for each "article" element, as in Listing 20.
增加每个“article ”元素的迭代器变量iter的值,如清单20中所示。
In the example above, the type returned by v.begin and v.end is vector: : iterator.
在上面的例子中,这个类型返回的v.b egin和v.e nd是vector: iterator。
Chapter 4 starts building the iterator framework that underlies the rest of the book.
第4章开始构建一个迭代器框架,它是本书其余部分的基础。
Subsequent invocations move the iterator backward or forward by the required distance.
后续的调用会将迭代器前后移动指定的距离。
When iterating over a Collection, the compiler generates the standard iterator-based idiom.
当在Collection上迭代时,编译器生成标准的基于迭代器的语法。
The event iterator-based API represents a more object-oriented approach than the cursor-based API.
和基于指针的API相比,基于事件迭代器的 API 具有更多的面向对象特征。
The iterator pattern provides a way to encapsulate looping through a collection or array of objects.
迭代器模式将提供一种通过对象集合或对象数组封装迭代的方法。
Such unique features include iterator blocks, parallel assignment, and oddities like the Range class.
这些独特的特性包括iterator块、并行赋值和像range类这样奇妙的东西。
G - This pane is part of a spatial iterator used to show the icon portion of the icon navigation link.
G—此窗格是空间迭代器的一部分,用于显示图标导航链接的图标部分。
Here, I get to bypass the iterator interface and use iterator-like methods on collections themselves.
在这里,我跳过了Iterator接口,直接在集合上使用类似迭代器的方法。
As you already know, the event iterator-based API is a layer that is logically above the cursor-based API.
正如您已了解的一样,在逻辑上基于事件迭代器的API是基于指针的API上面的一层。
AL0 - This pane is part of a spatial iterator used to show the caption portion of the icon navigation link.
AL0—此窗格是空间迭代器的一部分,用于显示图标导航链接的标题部分。
You're able to use a familiar iterator-like syntax to search through the document to find the data you want.
您可以使用一种熟悉的类似迭代器的语法来搜索整个文档以查找所需的数据。
Iterator is so common that it has ceased to be a formal pattern at all; it is just a feature of the language.
因为迭代器太常见了,所以它根本就算不上是正式的模式;它只是一种语言的特性。
应用推荐