词典宝
更多
查询
1 词典释义:
iterator
时间: 2025-02-13 22:02:44
英 [ɪtə'reɪtə]
美 [ɪtə'reɪtə]

n. 迭代程序;迭代器

双语例句
  • Creates an iterator to loop through.

    创建了一个用于循环的迭代器。

  • Create an iterator to go through the DDO.

    创建迭代器以遍历ddo。

  • Add this code to the end of the iterator loop

    将下列代码添加到迭代器循环的底部

  • Create an iterator to iterate through the collection.

    创建一个迭代器,以便通过集合进行迭代。

  • Figure 3 shows a class diagram of the iterator pattern.

    图3显示了迭代器模式的类图。

  • Listing 2. Iterator-based equivalent for Listing 1.

    清单2。

  • Basically, an iterator is an object that has a.next method.

    基本上,迭代器是含有. next方法的对象。

  • Part 2 will take a more in-depth look at the event iterator API.

    第2部分将深入讨论事件迭代器api。

  • The pre-call to itertools.tee() preserves the original iterator.

    对 itertools.tee() 的预调用保留了原始迭代器。

  • You can utilize the generator either manually or as an iterator.

    可以手工或者作为迭代器来利用这个生成器。

  • Iterparse returns a Python iterator for the selected element context.

    iterparse为所选的元素上下文返回一个python迭代器。

  • So I'll start you out with an overview of iterator methods in Groovy.

    所以,我将从Groovy中迭代器的概述开始。

  • The main interface of the event iterator-based API is XMLEventReader.

    事件迭代器 API 的主要接口是 XMLEventReader。

  • After getting an Iterator from each, an element is added to each.

    在得到每一个实例的Iterator后,分别在其中加入一个元素。

  • Both the matched and non-matched rows are fed into the upsert iterator.

    匹配与未匹配行都被送入upsert迭代器中。

  • The main problem is that we create a new copy of the iterator every time.

    主要问题是,每次都要创建迭代器的一个新副本。

  • Similarly, vector declares the nested types iterator and const_iterator.

    相同的,vector申明了嵌套的iterator和const_iterator。

  • One particularly idiomatic method of REXML elements is the.each iterator.

    REXML元素的一个独特的惯用方法是. each迭代器。

  • In PHP parlance, this means that the object can be treated as an iterator.

    在php中,这意味着对象可以当做迭代器。

  • How does the compiler know that the supplied argument has an iterator method?

    编译器如何知道提供的参数有一个iterator方法呢?

  • With enough contortions, you can get an item for every type of sequence/iterator.

    对于每种序列/迭代器类型,只要费一番功夫,总能够获得其中的特定条目。

  • Increment the iterator variable iter for each "article" element, as in Listing 20.

    增加每个“ article ”元素的迭代器变量iter的值,如清单20中所示。

  • Chapter 4 starts building the iterator framework that underlies the rest of the book.

    第4章开始构建一个迭代器框架,它是本书其余部分的基础。

  • Subsequent invocations move the iterator backward or forward by the required distance.

    后续的调用会将迭代器前后移动指定的距离。

  • When iterating over a Collection, the compiler generates the standard iterator-based idiom.

    当在Collection上迭代时,编译器生成标准的基于迭代器的语法。

  • The second block, which uses an Iterator instead, should perform faster than the first.

    第二个代码块使用的是 Iterator,应该比第一块执行得快一些。

  • The event iterator-based API represents a more object-oriented approach than the cursor-based API.

    和基于指针的 API 相比,基于事件迭代器的 API 具有更多的面向对象特征。

  • The iterator pattern provides a way to encapsulate looping through a collection or array of objects.

    迭代器模式将提供一种通过对象集合或对象数组封装迭代的方法。

  • G - This pane is part of a spatial iterator used to show the icon portion of the icon navigation link.

    G—此窗格是空间迭代器的一部分,用于显示图标导航链接的图标部分。

  • Here, I get to bypass the iterator interface and use iterator-like methods on collections themselves.

    在这里,我跳过了Iterator接口,直接在集合上使用类似迭代器的方法。

相关推荐