What is the translation of " ITERATORS " in Chinese?

迭代器

Examples of using Iterators in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
Iterators and for… of operator.
Iterator和for…of循环的用法.
There are some more advanced iterators, including ones that are infinite.
有一些更高级的迭代器,包括那些不限范围的。
Iterators are meant to solve that problem.
Iterator意在解决这个问题。
Last week, we saw that ES6 iterators are not just a single built-in class.
上周,我们已经看到了ES6的迭代器不只是一个简单的内置类。
It doesn't construct an in-memory list and exhaust all the input iterators before returning;
它并不会在内存创建一个列表并因此在返回前而耗尽输入的迭代器;.
Classic iterators, according to the original design pattern, return items from a collection.
经典的迭代器,根据原来的设计模式,是从集合中返回元素。
So often, though,it's not the innovators that reap the greatest rewards but rather the iterators.
然而,通常并不是创新者获得了最大的回报,而是迭代者
This class and its iterators implement all of the optional methods of the Set and Iterator interfaces.
该类和它的迭代器实现了Collection和Iterator接口所有可选的方法。
If there are no such elements, past-the-end(see end()) iterators are returned as both elements of the pair.
若无这种元素,则将尾后(见end())迭代器作为pair的两个元素返回。
Applying iter() to a dictionary always loops over the keys,but dictionaries have methods that return other iterators.
对字典使用iter()总是会遍历键,但字典也有返回其他迭代器的方法。
One of the biggest design mistakes of iterators in Python is that StopIteration bubbles if not caught.
Python中迭代器最大的设计错误之一是如果StopIteration没有被捕获形成的空泡。
Even though C had added a yield statement, I never used it,and if I recall it was really only meant for iterators.
尽管C已经添加了yield语句,我从来没有使用过,如果要回忆的话它只适用于迭代
Because you need to call the method, this means that iterators can be lazy and not generate all of the values upfront.
因为你需要调用这个方法,这意味着迭代器可以偷懒,而不是预先生成的所有值。
Applying iter() to a dictionary always loops over the keys,but dictionaries have methods that return other iterators.
在字典中使用iter()方法总是会遍历所有键,但是字典也有其它方法可以返回其它迭代器
We will also briefly introduce closures, iterators, and trait objects, which Chapters 13 and 17 will cover in detail.
另外还会简要的讲到闭包、迭代器和trait对象,他们分别会在第十三章和第十七章中详细介绍。
Iterators provide a standard way to access elements, whether or not a container provides a way to access the elements directly.
迭代器提供了一种访问元素的标准方法,无论容器是否提供了直接访问元素的方法。
The main benefits of using aLinkedList arise when you re-use existing iterators to insert and remove elements.
使用LinkedList其中一个好处可以重用已有iterator插入和删除元素。
Some cross validation iterators, such as KFold, have an inbuilt option to shuffle the data indices before splitting them.
一些交叉验证迭代器,比如KFold,有一个内建的在划分数据前进行数据索引打散的选项。
Each STL container has member functions begin() and end()that return the begin and end iterators for that container.
每一个STL容器都有begin()和end()成员函数返回那个容器的begin和end迭代器
Some cross validation iterators, such as KFold, have an inbuilt option to shuffle the data indices before splitting them.
一些交叉验证迭代器,例如KFold,具有内置的选项,以便在分割数据索引之前混洗数据索引。
While doing that is outside of the scope of this guide,Rust provides a number of useful iterators to accomplish various tasks.
虽然这种操作不是在本指南的范围之内,Rust提供了许多有用的迭代器来完成各种任务。
Two of these features, generators and iterators, have substantially changed how we write specific functions in more complex front-end code.
其中两个特性,生成器和迭代器,极大地改变了我们在更复杂的前端代码中编写特定函数的方式。
LinkedList<E> allows for constant-time insertions or removals using iterators, but only sequential access of elements.
LinkedList<E>可以使用iterator实现固定时间插入或删除,但只能顺序访问元素。
As far as I know, iterators always simply return self in their__iter__ method because they are their own iterators.
据我所知,迭代器总是在__iter__方法中简单的返回自己(self),因为它们正是自己的迭代器
C 2.0 introduces several language extensions, the most important of which are Generics,Anonymous Methods, Iterators, and Partial Types.
C2.0引入了几项语言扩展,其中最重要的是泛型、匿名方法、迭代器和不完整类型(partialtype)。
Cross validation iterators can also be used to directly perform model selection using Grid Search for the optimal hyperparameters of the model.
交叉验证迭代器也可用于使用GridSearch直接执行模型选择以获得模型的最佳超参数。
Besides utility methods to work with sets like isSubCollection and union,the framework includes additional Comparators and Iterators.
除了象isSubCollection和合并等一些公用方法外,该框架还包括了附加的Comparators和Iterators
Iterators are weakly consistent, returning elements reflecting the state of the deque at some point at or since the creation of the iterator.
并发队列里面的Iterators是弱一致性的,next返回的是队列某一个时间点或者创建迭代器时候的状态的反映。
Behaves as if applying std::iter_swap to every pair of iterators first+i,(last-i)- 1 for each non-negative i<(last-first)/2.
表现如同应用std::iter_swap到对于非负i<(last-first)/2每对迭代器first+i,(last-i)-1.
When combined with other indexing forms and iterators that yield CartesianIndexes, however, this can lead directly to very elegant and efficient code.
但是,当与其他索引形式和迭代器组合产生多个CartesianIndex时,这可以直接形成非常优雅和高效的代码。
Results: 76, Time: 0.0236

Top dictionary queries

English - Chinese