Creates an iterator to loop through.
创建了一个用于循环的迭代器。
Listing 6. Loop through all cells and print out values.
清单6.循环所有单元格并打印值。
To do that, loop through the workspace elements in the document.
为此,遍历文档中的工作空间元素。
My methods will only loop through matched elements in this manner.
我的方法都将只使用该方法迭代匹配的元素。
We loop through the tag arrays and select all tags that start with the specified qualifier.
我们遍历标签数组,选择以指定限定符开头的所有标签。
The loop through the keys of %discs is simple, using grep() to see if a disc is in @common.
循环遍历 %discs的键很简单,用grep()来查看一个唱片是否在于 @common 中。
The standard PHP looping structures can loop through a QueryPath object's selected elements.
标准的PHP循环结构可以遍历 QueryPath对象选择的元素。
Next, set up your test to loop through all of the data. The easiest way to do this is by adding a loop.
下一步,设置您的测试循环测试所有数据。
Roads loop through 600 oil Wells, blocks of apartments, a movie theater, a bakery, a school and a helipad.
在这座岛上,道路依此穿过600个油井、住宅区、电影院、面包房、学校和直升机停机坪。
If there are multiple requests, loop through the array of requests and call the doRpc function for each one.
如果有多个响应,通过请求数组循环,为每一个调用dorpc函数。
For each line that does, you open a new row element and loop through each digit to create a box element.
对这样的每一行,打开一个新的row元素然后遍历其中的的每个数字并创建一个box元素。
But for my grocery store, I decided to loop through several simulations, each one corresponding to a day of business.
但对于我的食品杂货店,我决定通过几次模拟进行循环,每次对应于某一天的业务。
A method gives your code the ability to loop through all the selected elements that are passed into the plug-in.
方法使代码能够迭代所有传入插件的选定元素。
Then, your application can decode that JSON data and loop through it in any way necessary to display the content.
接下来,您的应用程序可以解码那个JSON数据,以任何必要的方式循环该数据,以便显示数据内容。
For performance and stability reasons, they recommend all methods use this means to loop through matched elements.
出于性能和稳定性考虑,他们推荐所有的方法都使用它迭代匹配的元素。
To populate the file, loop through the values in your word map, writing each to a row in your file (see Listing 4).
要填充文件,可循环通过单词映射中的值,将每个值写到文件中的一行(参见清单4)。
Your code just needs to loop through the fields and encode the values to make sure that there are no invalid characters.
代码只要顺着字段循环并对值编码,确保没有无效字符。
We begin by creating the necessary input streams, then loop through each record, storing its contents in a byte array.
首先创建必要的输入流,然后遍历所有记录,把其中的内容存储到一个字节数组。
For example, you can loop through projects and update their statuses based on the current cursor position (see Listing 5).
例如,您可以遍历项目,并基于当前游标位置更新其状态(参见清单5)。
In this model, called Pipelining, the main thread is used to loop through the results as they are produced by the other threads.
在这个被称为“并行管道”的模型下,主线程将会在另一个线程产出结果的同时进行循环处理。
It makes a difference if you loop through 500 or 5000 DOM elements on the page when you want to add an event handler for example.
如果您依次通过页上的500或5000DOM元素,当您要添加事件处理程序,例如,它使不同。
After you have parsed all the entries for each feed you get, loop through the key set, looking at the frequency of each word.
解析完取得的每个提要的所有条目之后,循环通过密钥集,查看每个单词的频率。
This code is a simple loop through all posts in a hypothetical posts table, displaying the category and the body of the post.
此代码是一个简单的循环,遍历了一个假想的post表内的所有post,并显示post的类别和它的主体。
The XML Input stage will loop through the repetition element and produce an output record for each occurrence of that element.
XMLInput阶段将遍历重复元素,并为每个重复的元素生成一个输出记录。
You can use a compound iterator that wraps the iterators that loop through each type of address like the one listed in Listing 3.
您可以使用一个混合迭代器,它封装了遍历清单3中列出的每种地址的迭代器。
Using the customerXML from Part 1: Listing 6 , loop through each item, calculate the insurance cost, and add it to the item information.
使用 第 1 部分的清单6中的 customerXML,循环遍历每个商品、计算保险费并添加到商品信息中。
You should always use this.each to iterate over the matched elements, as this is a reliable and efficient way to loop through objects.
您应该总是使用this . each迭代匹配的元素,这是一种可靠而有效地迭代对象的方式。
Loop through the data records in the arrays, and change the values as needed, then write the data back to the original database and table.
循环遍历数组中的数据记录并根据需要修改,然后把数据写回原来的数据库和表中。
Once you have the XML Document object, you can loop through each of the workspace elements, and create a div on the page for each of them.
有了XML文档对象之后,遍历各个工作空间元素,并在页面上为每个元素都创建一个div。
Once you have the XML Document object, you can loop through each of the workspace elements, and create a div on the page for each of them.
有了XML文档对象之后,遍历各个工作空间元素,并在页面上为每个元素都创建一个div。
应用推荐