首页 / 词典 / good

iterator

美 [ɪtə'retɚ]英 [ɪtə'reɪtə]
  • 迭代器;【计】迭代器,迭代程序
iteratoriterator
  1. Use the function odbc_result (), which takes in a result set and a column name ( as a string ) and returns the cell value within the row that the row iterator points to .

    使用函数odbcresult(),该函数接受结果集和列名称(字符串形式),并返回行迭代程序所指向的行中的单元值。

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

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

  3. Add this code to the end of the iterator loop

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

  4. You can use the table below to find the right types based on the type of your iterator .

    你可以用下表基于你的迭代器类型来找到正确的类型。

  5. Creates a collection and later an iterator to loop through .

    创建了一个集合和一个用于遍历的迭代器。

  6. A Return statement within an anonymous Iterator works just like C # 's yield return .

    在匿名迭代器中的Return语句工作方式就像C的yieldreturn一样。

  7. The fan symbol is the iterator for the fans list .

    Fan标记是fans列表的迭代子。

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

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

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

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

  10. How does the compiler know that the supplied argument has an iterator () method ?

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

  11. Walking the results is a simple exercise in using the Iterator interface implemented by ObjectSet .

    使用由ObjectSet实现的Iterator接口遍历结果非常简单。

  12. Such unique features include iterator blocks , parallel assignment , and oddities like the Range class .

    这些独特的特性包括iterator块、并行赋值和像Range类这样奇妙的东西。

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

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

  14. Without any type of counter variable ( or Iterator ), you 're simply out of luck here .

    在这里,没有任何类型的计数器变量(或者Iterator),也不存在任何侥幸。

  15. A random access iterator is an iterator that can read through a sequence of values .

    随机访问迭代器是一种可以读入一组值的序列的迭代器。

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

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

  17. The Iterator instance returned from iterator () doesn 't necessarily return the elements in priority order .

    从iterator()返回的Iterator实例不需要以优先级顺序返回元素。

  18. Of course , there is a trade-off between memory used and the speed penalty of running through the iterator .

    当然,在使用迭代器时,要在占用的内存和速度之间有所取舍。

  19. STL and Iterator Design Pattern

    STL和迭代器模式

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

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

  21. C # 's iterator is a form of continuation , a rarely used technique popular in languages such as Scheme .

    C的迭代器是一种延续的形式,在类似Scheme这样的流行语言中很少使用这样的技术。

  22. You create a definitions object and map it inside an iterator , then do something similar for synonyms .

    创建一个definitions对象,并在迭代中映射它,接着用同样的方法处理synonyms。

  23. If an iterator class or a function with static ( or global ) variables depends on multiple data states , two problems come up .

    如果带静态(或全局)变量的迭代器类或函数取决于多个数据状态,则出现两个问题。

  24. The new elements will appear in this list in the order that they are returned by the specified collection 's iterator .

    列表中新元素的出现顺序为指定集合迭代其返回的顺序。

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

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

  26. You can easily modify the Rope iterator to accommodate skipping forward by more than one character at a time .

    很容易就能将Rope迭代器改成一次向前移动不止一个字符。

  27. In our example , the developers declare that an Iterator of Customer beans should be returned .

    在我们的示例中,开发人员声明的返回类型是Customerbean的一个Iterator。

  28. A bidirectional iterator addressing the position of the first element in the range to not satisfy the predicate condition .

    它重新排列元素,使得满足指定条件的元素排在不满足条件的元素前面。

  29. In Blue , ignoring recursion or map ( functional iterator ), there 's one way to implement loop constructs .

    而在Blue中,忽略了递归或映射(函数迭代器),只有一种方法来实现循环结构。

  30. Experiment results show that the design patterns , which integrated by the value-object and iterator , effectively improve the performance of network data transmission .

    实验结果表明两种设计模式相结合能有效提高网络数据传输性能。