iterator
英[ɪtəˈreɪtə]
美[ɪtəˈretɚ]
双语例句
- 1. Creates an iterator to loop through.
- 创建了一个用于循环的迭代器。
youdao
- 2. Create an iterator to go through the DDO.
- 创建迭代器以遍历ddo。
youdao
- 3. Add this code to the end of the iterator loop
- 将下列代码添加到迭代器循环的底部
youdao
- 4. Create an iterator to iterate through the collection.
- 创建一个迭代器,以便通过集合进行迭代。
youdao
- 5. Figure 3 shows a class diagram of the iterator pattern.
- 图3显示了迭代器模式的类图。
youdao
- 6. Listing 2. Iterator-based equivalent for Listing 1.
- 清单2。
youdao
- 7. Basically, an iterator is an object that has a.next method.
- 基本上,迭代器是含有. next方法的对象。
youdao
- 8. Part 2 will take a more in-depth look at the event iterator API.
- 第2部分将深入讨论事件迭代器api。
youdao
- 9. The pre-call to itertools.tee() preserves the original iterator.
- 对 itertools.tee() 的预调用保留了原始迭代器。
youdao
- 10. You can utilize the generator either manually or as an iterator.
- 可以手工或者作为迭代器来利用这个生成器。
youdao
- 11. Iterparse returns a Python iterator for the selected element context.
- iterparse为所选的元素上下文返回一个python迭代器。
youdao
- 12. So I'll start you out with an overview of iterator methods in Groovy.
- 所以,我将从Groovy中迭代器的概述开始。
youdao
- 13. After getting an Iterator from each, an element is added to each.
- 在得到每一个实例的Iterator后,分别在其中加入一个元素。
youdao
- 14. The main interface of the event iterator-based API is XMLEventReader.
- 事件迭代器API的主要接口是XMLEventReader。
youdao
- 15. The main problem is that we create a new copy of the iterator every time.
- 主要问题是,每次都要创建迭代器的一个新副本。
youdao
- 16. Similarly, vector declares the nested types iterator and const_iterator.
- 相同的,vector申明了嵌套的iterator和const_iterator。
youdao
- 17. Second, Iterator supports a derived (and arguably more powerful) cousin.
- 第二,Iterator支持派生的(并且可能是更强大的)兄弟成员。
youdao
- 18. One particularly idiomatic method of REXML elements is the.each iterator.
- REXML元素的一个独特的惯用方法是.each迭代器。
youdao
- 19. In PHP parlance, this means that the object can be treated as an iterator.
- 在php中,这意味着对象可以当做迭代器。
youdao
- 20. How does the compiler know that the supplied argument has an iterator method?
- 编译器如何知道提供的参数有一个iterator方法呢?
youdao
- 21. With enough contortions, you can get an item for every type of sequence/iterator.
- 对于每种序列/迭代器类型,只要费一番功夫,总能够获得其中的特定条目。
youdao
- 22. Increment the iterator variable iter for each "article" element, as in Listing 20.
- 增加每个“article ”元素的迭代器变量iter的值,如清单20中所示。
youdao
- 23. Chapter 4 starts building the iterator framework that underlies the rest of the book.
- 第4章开始构建一个迭代器框架,它是本书其余部分的基础。
youdao
- 24. Subsequent invocations move the iterator backward or forward by the required distance.
- 后续的调用会将迭代器前后移动指定的距离。
youdao
- 25. When iterating over a Collection, the compiler generates the standard iterator-based idiom.
- 当在Collection上迭代时,编译器生成标准的基于迭代器的语法。
youdao
- 26. The event iterator-based API represents a more object-oriented approach than the cursor-based API.
- 和基于指针的API相比,基于事件迭代器的 API 具有更多的面向对象特征。
youdao
- 27. The iterator pattern provides a way to encapsulate looping through a collection or array of objects.
- 迭代器模式将提供一种通过对象集合或对象数组封装迭代的方法。
youdao
- 28. G - This pane is part of a spatial iterator used to show the icon portion of the icon navigation link.
- G—此窗格是空间迭代器的一部分,用于显示图标导航链接的图标部分。
youdao
- 29. Here, I get to bypass the iterator interface and use iterator-like methods on collections themselves.
- 在这里,我跳过了Iterator接口,直接在集合上使用类似迭代器的方法。
youdao
- 30. As you already know, the event iterator-based API is a layer that is logically above the cursor-based API.
- 正如您已了解的一样,在逻辑上基于事件迭代器的API是基于指针的API上面的一层。
youdao
百度翻译
有道翻译