的迭代器 in English translation

Examples of using 的迭代器 in Chinese and their translations into English

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
继续打电话给next()从步骤1返回的迭代器上的方法。
Keep calling the next() method on the iterator returned from step 1.
如果你需要直接访问一个借用的迭代器,你通常可以调用iter()方法来获取它。
If you need direct access to a borrowing iterator, you can usually get it by calling the iter() method.
方法iterator()中提供的迭代器并不保证以有序的方式遍历优先级队列中的元素。
The Iterator provided in method iterator() is not guaranteed to traverse the elements of the PriorityBlockingQueue in any particular order.
方法iterator()中提供的迭代器并不保证以有序的方式遍历优先级队列中的元素。
The Iterator provided in method PriorityQueue. iterator() is not guaranteed to traverse the elements of the priority queue in any particular order.
虽然这种操作不是在本指南的范围之内,Rust提供了许多有用的迭代器来完成各种任务。
While doing that is outside of the scope of this guide, Rust provides a number of useful iterators to accomplish various tasks.
方法iterator()中提供的迭代器并不保证以任意特定的顺序遍历优先级队列中的元素。
The Iterator provided in method iterator() is not guaranteed to traverse the elements of the priority queue in any particular order.
Iter()可以把一个vector变成一个简单的迭代器,反过来这个迭代器给出每个元素:.
The other is iter(). iter() can turn a vector into a simple iterator that gives you each element in turn.
示例13-15有一个测试展示了重复调用由vector创建的迭代器的next方法所得到的值:.
Listing 13-15 demonstrates what values are returned from repeated calls to next on the iterator created from the vector.
虽然自定义的迭代器是一个有用的工具,但由于需要显式地维护其内部状态,因此需要谨慎地创建。
While custom iterators are a useful tool, their creation requires careful programming due to the need to explicitly maintain their internal state.
一个由generatorfunction(生成器函数)或generatorexpression(生成器表达式)构建的迭代器,它在产生值时无需遍历整个集合;
An iterator built with a generator function or a generator expression that may produce values without necessarily iterating over a collection;
虽然自定义的迭代器是一种很有用的工具,但是创建它们的时候要仔细规划,因为需要显式的维护它们的内部状态。
While custom iterators are a useful tool, their creation requires careful programming due to the need to explicitly maintain their internal state.
每一个二元组包含key_function(eachitem)的结果和另一个包含着所有共享这个key结果的元素的迭代器
Each pair contains the result of key_function(each item) and another iterator containing all the items that shared that key result.
接着调用filter将这个迭代器适配成一个只含有那些闭包返回true的元素迭代器
Then we call filter to adapt that iterator into a new iterator that only contains elements for which the closure returns true.
并不是所有类型的迭代器提供所有潜在的功能。
Not all types of iterators provide all the potential functionality.
有一些更高级的迭代器,包括那些不限范围的。
There are some more advanced iterators, including ones that are infinite.
请注意,使用promises的迭代器不可能达到相同的结果。
Note that it's not possible to use an iterator of promises to achieve the same result.
这是一个有效多维迭代器Object,使用它可以遍历数组。
It is an efficient multi-dimensional iterator object using which it is possible to iterate over an array.
Iterator定义了默认的迭代器,你可以如下使用它来确定一个对象是否可迭代:.
Iterator specifies the default iterator, you can use it to detect whether an object is iterable as follows.
该类和它的迭代器实现了Collection和Iterator接口所有可选的方法。
This class and its iterator implement all of the optional methods of the Collection and Iterator interfaces.
Javascript中最常见的迭代器是Array迭代器,它只是按顺序返回关联数组中的每个值。
The most common iterator in Javascript is the Array iterator, which simply returns each value in the associated array in sequence.
Results: 316, Time: 0.0164

Word-for-word translation

Top dictionary queries

Chinese - English