创建了一个用于循环的迭代器。
图3显示了迭代器模式的类图。
创建迭代器以遍历ddo。
可以手工或者作为迭代器来利用这个生成器。
You can utilize the generator either manually or as an iterator.
后续的调用会将迭代器前后移动指定的距离。
Subsequent invocations move the iterator backward or forward by the required distance.
在php中,这意味着对象可以当做迭代器。
In PHP parlance, this means that the object can be treated as an iterator.
所以,我将从Groovy中迭代器的概述开始。
So I'll start you out with an overview of iterator methods in Groovy.
匹配与未匹配行都被送入upsert迭代器中。
Both the matched and non-matched rows are fed into the upsert iterator.
答案是这个逆序函数的参数是迭代器,概括的指针。
The answer is that the arguments to reverse are iterators, which are a generalization of Pointers.
在创建集合和迭代器的事务之外支持集合和迭代器。
Support for collections and iterators outside of the transactions in which they were created.
低级跟踪捕捉语句统计数据、语句文本和语句迭代器。
Low-level tracing captures statement statistics, statement text and statement iterators.
通过下面的方式,使用迭代器遍历整个容器。
第4章开始构建一个迭代器框架,它是本书其余部分的基础。
Chapter 4 starts building the iterator framework that underlies the rest of the book.
REXML元素的一个独特的惯用方法是.each迭代器。
One particularly idiomatic method of REXML elements is the.each iterator.
迭代器模式将提供一种通过对象集合或对象数组封装迭代的方法。
The iterator pattern provides a way to encapsulate looping through a collection or array of objects.
如果你了解算法,迭代器,容器,那么你基本上知道STL的一切。
If you understand algorithms, iterators, and containers, then you understand almost everything there is to know about the STL.
真正重要的是一下部分,迭代器和闭包一两下就显示出了它们的威力。
The real knockout is the next part, where the one-two punches of iterators and closures shows their power.
对 itertools.tee() 的预调用保留了原始迭代器。
The pre-call to itertools.tee() preserves the original iterator.
G—此窗格是空间迭代器的一部分,用于显示图标导航链接的图标部分。
G - This pane is part of a spatial iterator used to show the icon portion of the icon navigation link.
人们也可以预先自定义一些迭代器,在函数的整个作用域内创建并使用。
One could also foresee custom iterators being created and used entirely within the scope of a function.
iterparse为所选的元素上下文返回一个python迭代器。
Iterparse returns a Python iterator for the selected element context.
事件迭代器API的主要接口是XMLEventReader。
The main interface of the event iterator-based API is XMLEventReader.
您可以使用一种熟悉的类似迭代器的语法来搜索整个文档以查找所需的数据。
You're able to use a familiar iterator-like syntax to search through the document to find the data you want.
AL0—此窗格是空间迭代器的一部分,用于显示图标导航链接的标题部分。
AL0 - This pane is part of a spatial iterator used to show the caption portion of the icon navigation link.
窗格名称后的数字指明空间迭代器的值,从最外面的空间迭代器开始逐渐向里。
The digits following the pane name indicate the spatial iterator value, starting from the outermost spatial iterator working inward.
您可以使用一个混合迭代器,它封装了遍历清单3中列出的每种地址的迭代器。
You can use a compound iterator that wraps the iterators that loop through each type of address like the one listed in Listing 3.
最大的消息是调试器现在支持C# 2.0的特性,如泛型、匿名方法和迭代器……
The biggest news is that the debugger now has support for C# 2.0 features such as generics, anonymous methods and iterators ....
但生成器最典型的用途是用来定义迭代器;所以不值得总是为一些细微之处而担心。
But the most typical use of generators will be for defining iterators; so some of the subtlety is not always worth worrying about.
peek()可以得到迭代器将返回的下一个事件(如果有)但是不移动迭代器。
peek() can find out the next event, if any, to be returned by the iterator without advancing it.
它们与php中的其他迭代器类使用相同的工作方式,但是它们分别针对不同的情况。
These work the same as the other iterator classes in PHP, but they are specially designed for certain instances.
应用推荐