iterating
英 [ˈɪtəreɪtɪŋ]
美 [ˈɪtəreɪtɪŋ]
v. 迭代(数学或计算过程,或一系列指令)
iterate的现在分词
双语例句
- This new language construct eliminates the drudgery and error-proneness of iterators and index variables when iterating over collections and arrays.
语言的新结构可以消除在遍历集合和数组时迭代算子和索引变量引起的琐碎的代码和容易出错。 - The third facet is iterating through selected items.
第三个方面是迭代选择的项。 - 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迭代器。 - The Collections framework introduced iterators for traversing a list or other collection, which optimizes the process of iterating through the elements in a collection.
集合框架引入了迭代器,用于遍历一个列表或者其他集合,从而优化了对一个集合中的元素进行迭代的过程。 - I confirm this by iterating over the vals variable, which returns a simple sum.
通过在vals变量上迭代,我确认了这一点,即返回一个简单的sum。 - As you can see, iterating over a Map is just as natural as iterating over any other collection.
可以看到,迭代Map和迭代其它任何集合一样自然。 - Then, instead of iterating overTask. all() in our list, we iterate over the search collection Task. searchPrefix ( phrase).
然后,我们并没有遍历list中的Task.all(),而是遍历了搜索集合Task.searchPrefix(phrase)。 - For the sake of example, you'll look at just iterating through the results and printing them out.
例如,您可以只是在结果中进行迭代并将它们打印出来。 - When iterating over a non-Collection Iterable, the compiler produces an error.
当在非集合的Iterable上迭代时,编译器生成错误。 - What it understands is scala. Iterable, which defines the basic behaviors for iterating across a collection.
它所了解的是scala.Iterable,scala.Iterable定义了在集合上进行迭代的基本行为。