Creates an iterator to loop through.
创建了一个用于循环的迭代器。
Create an iterator to go through the DDO.
创建迭代器以遍历ddo。
Add this code to the end of the iterator loop
将下列代码添加到迭代器循环的底部
Create an iterator to iterate through the collection.
创建一个迭代器,以便通过集合进行迭代。
Figure 3 shows a class diagram of the iterator pattern.
图3显示了迭代器模式的类图。
Basically, an iterator is an object that has a.next method.
基本上,迭代器是含有. next方法的对象。
Which, if any, of the following iterator USES are in error?
下列迭代器的用法哪些(如果有的话)是错误的?
Part 2 will take a more in-depth look at the event iterator API.
第2部分将深入讨论事件迭代器api。
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迭代器中。
The main problem is that we create a new copy of the iterator every time.
主要问题是,每次都要创建迭代器的一个新副本。
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方法呢?
With enough contortions, you can get an item for every type of sequence/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产生一个迭代器。
Part 2 of this series will provide a detailed description of the event iterator-based API.
本系列的第二部分将详细讨论这种基于事件迭代器的API。
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—此窗格是空间迭代器的一部分,用于显示图标导航链接的图标部分。
应用推荐