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

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

    youdao

  • Create an iterator to iterate through the collection.

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

    youdao

  • The iterator method collect, for example, applies a closure to every element in a collection and returns a new collection with the new values.

    例如迭代器方法collect把闭包应用集合中的每个元素上,返回一个带有的新集合。

    youdao

  • Even as objects get added to the collection, the original Iterator can proceed, working through the items in the original collection.

    即使对象加入到了集合中,原来Iterator可以进行,继续遍历原来集合中的

    youdao

  • Using Iterable has some obvious drawbacks when domain modeling, because only one such collection of objects can be so "implicitly" supported via the iterator method.

    建模时候使用Iterable一些明显缺陷因为通过iterator方法只能那么隐晦”地支持一个那样对象集合

    youdao

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

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

    youdao

  • And Groovy supports an external iterator (also known as a pull iterator because you must request the next item in the collection), shown in Listing 3.

    而且Groovy支持外部迭代器(称为pull迭代器,因为必须请求集合中的),如清单3

    youdao

  • Strive for no more than one call after a single cardinality find on a home, or a next on an iterator retrieved from a collection.

    本机上找到基数或者通过迭代器从集合中检索到一个基数尽量使用超过调用

    youdao

  • An iterator is a kind of code helper that lets you quickly access data in any collection or container, one at a time.

    迭代某种代码助手可以让迅速地访问任何集合容器中的数据,每次一个数据。

    youdao

  • Is there a circular dependency between an collection and its iterator?

    一个收集它的迭代器之间循环依赖

    youdao

  • Fundamentally, the for loop involves what is known as an iterator, which is used to move through the collection item by item.

    本质上for循环涉及到一个迭代(iterator),用于集合中逐项移动

    youdao

  • If this collection makes any guarantees as to what order its elements are returned by its iterator, this method must return the elements in the same order.

    如果集合保证元素顺序迭代器的顺序,那么方法必须相同顺序返回元素。

    youdao

  • Some collections will let you get away with removing or adding elements to a collection while iterating across it, but calling remove on the Iterator is a safer practice.

    有些集合允许迭代删除添加元素但是调用iteratorremove方法是个安全做法

    youdao

  • If the collection makes any guarantees as to what order its elements are returned by its iterator, this method must return the elements in the same order.

    如果集合保证元素顺序迭代器的顺序,那么方法必须相同顺序返回元素。返回数组安全的,集合中不会维持引用

    youdao

  • If the collection makes any guarantees as to what order its elements are returned by its iterator, this method must return the elements in the same order.

    如果集合保证元素顺序迭代器的顺序,那么方法必须相同顺序返回元素。返回数组安全的,集合中不会维持引用

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定