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显示了迭代器模式的类图。
Which, if any, of the following iterator USES are in error?
下列迭代器的用法哪些(如果有的话)是错误的?
The pre-call to itertools.tee() preserves the original iterator.
对 itertools.tee() 的预调用保留了原始迭代器。
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迭代器中。
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方法呢?
Increment the iterator variable iter for each "article" element, as in Listing 20.
增加每个“article ”元素的迭代器变量iter的值,如清单20中所示。
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.
后续的调用会将迭代器前后移动指定的距离。
The familiar Python idiom for elem in LST: now actually asks LST to produce an iterator.
Python常见的习惯用法for elem inlst:现在实际上让lst产生一个迭代器。
When iterating over a Collection, the compiler generates the standard iterator-based idiom.
当在Collection上迭代时,编译器生成标准的基于迭代器的语法。
Use of this custom iterator looks exactly the same as for a true list generated by a function.
这个定制迭代器看起来确实如同由函数生成的真实列表一样。
peek() can find out the next event, if any, to be returned by the iterator without advancing it.
peek()可以得到迭代器将返回的下一个事件(如果有)但是不移动迭代器。
The compiler translates this code into the equivalent iterator-based loop, as shown in Listing 2.
编译器把这个代码转换成等价的基于迭代器的循环,如清单2所示。
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.
迭代器模式将提供一种通过对象集合或对象数组封装迭代的方法。
Use the XMLStreamReader interface to read an XML document in an SQLXML object with an event iterator.
使用XMLStreamReader接口读取具有事件迭代器的SQLXML对象中的XML文档。
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接口,直接在集合上使用类似迭代器的方法。
XMLEventAllocator is essentially a bridge between the cursor-based and the event iterator-based API.
XMLEventAllocator 本质上是基于指针的 API和基于事件迭代器的 API之间的一座桥梁。
Then, at the bottom of the file, I use a foreach iterator to walk through the list of traces in the data.
然后在文件的后面,使用foreach迭代器遍历数据中的轨迹列表。
AL0 - This pane is part of a spatial iterator used to show the caption portion of the icon navigation link.
AL0—此窗格是空间迭代器的一部分,用于显示图标导航链接的标题部分。
The bulk of the work here is in implementing an iterator, which is then returned by the iterator method.
其中大部分工作是实现iterator,然后通过iterator方法返回它。
The Iterator instance returned from iterator() doesn't necessarily return the elements in priority order.
从iterator()返回的 Iterator实例不需要以优先级顺序返回元素。
You're able to use a familiar iterator-like syntax to search through the document to find the data you want.
您可以使用一种熟悉的类似迭代器的语法来搜索整个文档以查找所需的数据。
应用推荐