We iterate through it with foreach.
我们用foreach来遍历它。
ForEach is a container activity, as figure 4 shows.
ForEach是一个容器活动,如图4所示。
We can do this simply using a pair of foreach loops.
只需使用一对foreach循环即可完成此操作。
ForEach activities support drag and drop of array variables.
ForEach活动支持拖放数组变量。
This is fairly long-winded and less expressive than a PHP foreach statement.
这相当冗长,比PHPforeach语句的开销少。
The foreach loop in PHP makes it easy to reformat this array for HTML display.
利用PHPforeach循环很容易改变数组的格式,以用HTML显示出来。
Because it is a Seq, it has a foreach method that takes a closure as a parameter.
因为它是一个Seq,它具有一个foreach方法,并将一个闭包作为参数。
A Transform operator can be used to modulate the result of the ForEach operation.
可以使用Transform操作符来调节ForEach操作的结果。
Then, using a foreach statement, it lists the bare content of the section elements.
然后,使用一个foreach语句,列示那些section元素的纯内容。
The foreach command runs the script shown in curly braces for each file encountered.
foreach命令对每个文件执行大括号里面的脚本。
It then iterates over the elements in the response, processing each one using a foreach loop.
它然后使用一个foreach循环,迭代处理响应中的每个元素。
Then the foreach loop iterates through each data item and creates a new row with the data.
然后,foreach循环迭代通过每个数据项并利用数据创建一个新行。
We use a _ placeholder shortcut again in another function literal that we pass to foreach.
我们在传给foreach 的这个字面函数中再一次使用了一个 _占位符。
The term ID, $tid, is found using a foreach loop on the array term object array retrieved.
在获得的词汇对象数组上执行 foreach循环,找到词汇ID $tid。
The main foreach loop cycles through each of the nodes within the parent filesystem element.
主foreach循环对父filesystem元素中的每个节点进行循环。
It's also called foreach, and sometimes enhanced for — but these all refer to the same construct.
它也被称为foreach,有时也叫作增强的for,但这些指的都是同一个构造。
BPMN has two types of repeating activities, called looping (DoWhile) and multi-instance (ForEach).
BPMN有两类重复活动,称作循环(DoWhile)和多实例(ForEach)。
For example, if a request requires a dynamic number of reviewers, a forEach activity could be used.
例如,如果某个请求需要动态数量的审阅人员,则可以使用一个forEach活动。
This line starts with dir (or Get-ChildItem) and pipes the results through the foreach command.
这行以dir(或者Get -ChildItem)开始,然后把结果传递给foreach命令。
The foreach statement loops through the news items looking for anything to do with XYZ in the title.
foreach语句循环新项目,查找标题与XYZ有关的内容。
The foreach loop is the most important line in the script: foreach (qp($url, 'entry') as $result).
foreach循环是脚本中最重要的一行: foreach (qp($url,'entry')as $result)。
Then, at the bottom of the file, I use a foreach iterator to walk through the list of traces in the data.
然后在文件的后面,使用foreach迭代器遍历数据中的轨迹列表。
However, with the pattern described above, parallel forEach semantics can already be achieved in Version 6.
不过,通过使用上面描述的模式,已经可以在v6中实现并行foreach语义了。
The inner foreach loop iterates over the hash entries and strips trailing space characters from the values.
内部foreach循环迭代哈希条目,删除值最后的后缀空格字符。
The Listing 8 template illustrates the use of the #foreach directive with our $treeList ArrayList variable.
清单8 中的模板通过 $treeListArrayList变量演示了 #foreach指示符的用法。
The foreach loop then iterates through each of the user nodes and stores their attributes in the data array.
然后,foreach循环迭代通过每个用户节点,并将它们的属性存储在data数组中。
Iteration over the rows contained in the cities Result object is shown below using the core forEach tag.
下面展示了通过forEach标记对cities Result对象中包含的行的迭代。
You can place a print statement within the loop to verify that data indeed exists at each element in the foreach loop.
可以在循环中放一个print语句,检验在foreach循环中每个元素中是否确实存在数据。
Finally, using the foreach loop, the script loops around each book block and picks out the author, title, and publisher.
最后用foreach循环,在每个图书块间循环,并提取出author、title和publisher。
The WS-BPEL generated from a migrated collaboration is more efficient, using the forEach construct where applicable.
从迁移的协作生成的WS - BPEL更加高效,其中尽可能地使用了forEach构造。
应用推荐