Typed objects such as these cleanly encapsulate the responsibility of creating and maintaining a collection and iterating over that collection. 这样的类型化对象干净地封装了创建和维护一个集合并遍历这一集合的功能。
The enrichment branch is always contained within the top-level list that the current step is iterating through. 扩充分支总是包含在当前步骤遍历的顶级列表中。
The Collections framework introduced iterators for traversing a list or other collection, which optimizes the process of iterating through the elements in a collection. 集合框架引入了迭代器,用于遍历一个列表或者其他集合,从而优化了对一个集合中的元素进行迭代的过程。
Then you draw the bar graphs seen in Figure 1, by iterating over the report data. 然后,您通过迭代报告数据,绘制图1中的柱状图。
You've learned how to traverse a document using QueryPath methods, CSS3 selectors, and iterating techniques. 您已经了解了如何使用QueryPath方法、CSS3选择器和迭代技术遍历文档。
As you can see, iterating over a Map is just as natural as iterating over any other collection. 可以看到,迭代Map和迭代其它任何集合一样自然。
This example demonstrates three means for iterating through a dictionary: by using the Python iterator returned from the iterkeys(), itervalues(), or iteritems() methods. 这个示例演示了遍历dictionary的三种方式:使用从iterkeys()、itervalues()或iteritems()方法返回的Python迭代器。
Iterating through the tags and filtering for those that have a class attribute of newpage, you can find the value of the id attribute that contains the page number. 迭代标签并把那些具有newpage类属性的筛选出来,您可以找到包含页码的id属性的值。
An iterative and incremental methodology, by contrast, facilitates continuous change, iterating toward a better solution. 与此相对比,迭代和增量式方法使得连续的变更更加容易,迭代会得出更好的解决方案。
No table-wide locking is needed ( or even possible) to provide thread-safety when iterating the collection. 在对集合进行迭代时,不需要表范围的锁就能提供线程安全性。
Finally, for iterating over all of the name/ value pairs, there are a two APIs. 最后,对于在所有名/值对上迭代,存在两个API。
The implementation handles only a single group, even though the interface is set up for multiple groups; the details of iterating over each supplied group until success or exhaustion were omitted. 该实现仅处理单个组,即使该接口是为多个组设置的;忽略了在每个提供的组上进行迭代直到成功或用尽每个组这一详细信息。
The function displays a list of all authors in the AUTHOR table by iterating over the odbc_fetch_array() function in a while() loop. 该函数通过在while()循环中迭代odbcfetcharray()函数,来显示AUTHOR表中所有作者的列表。
Now that it's time to begin iterating on the design, the book describes two different options Use case or Feature-driven development and discusses when one approach is better than the other. 因为是时候开始对设计进行迭代了,所以该书介绍了两种不同的选项用例或特性驱动的开发并讨论什么时候一个会比另一个更好。
What it understands is scala. Iterable, which defines the basic behaviors for iterating across a collection. 它所了解的是scala.Iterable,scala.Iterable定义了在集合上进行迭代的基本行为。
While iterating through the records, you build an array containing the contact records. 在遍历记录时,需要建立一个包含联系人记录的数组。
Sometimes, this process is cyclical, iterating several times before a transaction is completed and archived. 有时候,这个流程是循环的,在反复几次后事务才完成并归档。
During the mapping stage, it evaluates the relations and generates mappings by iterating through the relevant model instances. 在映射阶段,引擎评估关联,并通过在相关模型实例中进行迭代产生映射。
I confirm this by iterating over the vals variable, which returns a simple sum. 通过在vals变量上迭代,我确认了这一点,即返回一个简单的sum。
The new support for statement labels and the GOTO and LOOP statements provide greater flexibility in iterating and in exiting from statement loops in SPL routines. 对语句标签以及GOTO和LOOP语句的新支持为SPL例程中的迭代和退出语句循环提供了更大的灵活性。
You start by getting the total number of items stored in localStorage and then iterating over them. 您首先得到存储在localStorage中的条目的总数,然后再迭代这些条目。
When iterating over a non-Collection Iterable, the compiler produces an error. 当在非集合的Iterable上迭代时,编译器生成错误。
The third facet is iterating through selected items. 第三个方面是迭代选择的项。
For the sake of example, you'll look at just iterating through the results and printing them out. 例如,您可以只是在结果中进行迭代并将它们打印出来。
Then, instead of iterating overTask. all() in our list, we iterate over the search collection Task. searchPrefix ( phrase). 然后,我们并没有遍历list中的Task.all(),而是遍历了搜索集合Task.searchPrefix(phrase)。
I'm again, iterating with this four loop, same code as before. 我再次,重复使用for循环,同样的代码。
Consider the case of iterating through a collection to get an idea of the real costs incurred. 考虑迭代一个集合的情况,以了解实际花费的开销。
This new language construct eliminates the drudgery and error-proneness of iterators and index variables when iterating over collections and arrays. 语言的新结构可以消除在遍历集合和数组时迭代算子和索引变量引起的琐碎的代码和容易出错。
Creates multiple output records by iterating over each input record. 通过对每个输入记录进行迭代,创建多个输出记录。
Concatenates all the values for the connected field by iterating over its parent record. 通过对已连接字段的父记录进行迭代,连接该字段的所有值。