iterators

iterators

 英

  • 网络迭代器;迭代子;的一个例外是在迭代器中

例句

Local iterators would be very inefficient and may not be able to meet the complexity requirements.

局部非常低效可能无法满足复杂度要求

Describes how checked iterators ensure that you do not overwrite the bounds of your container in retail code .

描述检查如何确保不会发布代码改写容器界限

These algorithms reorder the input sequence. They require that the iterators be at least forward iterators.

这些算法输入序列进行重新排序它们要求至少前向

Also, conditional expressions and iterators have been added to the XPath language, where previously they were part of the XSL language.

同样条件表达添加XPath语言以前它们XSL语言一部分

But the most typical use of generators will be for defining iterators; so some of the subtlety is not always worth worrying about.

生成典型用途用来定义所以值得总是一些细微担心

At the moment, the Java Bridge does not integrate Java iterators and PHP foreach statements.

目前JavaBridge并未JavaPHPforeach语句集成

Pointers themselves are iterators, which is why it is possible to reverse the elements of a C array.

指针本身就是为什么C数组可以使用reverse这个函数

The fact that reverse iterators are intended to represent ranges and that these ranges are asymmetric has an important consequence.

反向可以代表范围以及这个范围不对事实产生一个重要结论

To produce the permutation, the sequence must be processed both forward and backward, thus requiring bidirectional iterators.

为了产生排列必须序列进行处理因此要求双向

One could also foresee custom iterators being created and used entirely within the scope of a function.

人们可以预先定义一些函数整个作用创建使用

Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.

可能使失效插入操作导致负载因子大于等于最大负载因子

Iterators make it easier to dictate how a foreach loop will iterate over a collection's contents.

使得规定foreach循环如何循环访问集合内容变得更加容易

Some of the Parallelism iterators within an individual region are called Branch Repartition.

单个区域某些Parallelism称为BranchRepartition

Iterator that moves backward through a sequence. These iterators invert the meaning of ++ and --.

向后遍历序列这些颠倒++--含义

These algorithms require forward iterators for the input sequence and an output iterator for the destination.

这些算法要求输入序列以及目的地输出

Groovy improves the Java language's concept of iterators by making them implicit and more simple to use.

Groovy变成隐含使用起来简单从而改善了Java语言概念

Iterators allow the caller to remove elements from the underlying collection during the iteration with well-defined semantics.

允许调用使用语义底层集合删除元素

Find takes three arguments: two iterators that define a range, and a value to search for in that range.

Find需要三个参数定义一个区域一个查找

Support for collections and iterators outside of the transactions in which they were created.

创建集合事务之外支持集合

Let's consider iterators first, since they are simpler to understand.

由于比较容易理解我们来看

You can use a compound iterator that wraps the iterators that loop through each type of address like the one listed in Listing 3.

可以使用一个混合封装遍历清单3列出地址

Quibbles over syntax aside, generators have the good manners to automatically act as iterators when called on to do so.

考虑语法调用生成担当生成良好状况自动担当

The real knockout is the next part, where the one-two punches of iterators and closures shows their power.

真正重要一下部分闭包一两显示出它们威力

Invalidates iterators, and changes the order of elements. Pointers and references to elements are not invalidated.

使失效改变元素顺序指向元素指针引用不会失效

These algorithms require bidirectional iterators.

这些算法要求双向

Low-level tracing captures statement statistics, statement text and statement iterators.

低级跟踪捕捉语句统计数据语句文本语句

Iterators, pointers and references to the container's elements are never invalidated.

指向容器元素指针引用不会失效

Furthermore, insert iterators have been added.

此外增加插入

Multiple iterators can be implemented on a class.

可以实现多个

While some iterators are optimized for integer indices, all simply process (key, value) pairs.

尽管有些整数索引进行优化但是所有只简单处理(key,value)

If you understand algorithms, iterators, and containers, then you understand almost everything there is to know about the STL.

如果了解算法容器那么基本上知道STL一切

It divides the complex development process into several simply short iterators.

复杂开发过程分解一个个相对比较简单周期

The generic algorithms handle the first requirement, container traversal , by using iterators.

泛型算法解决第一个要求遍历容器

Constant reverse bidirectional iterators can be used anywhere that a constant reverse input or constant reverse output iterator is required.

无论需要常量反向输入常量反向输出可以使用常量反向双向

Low: This tracing level, which is enabled by default, captures statement statistics, statement text, and statement iterators.

Low跟踪级别默认级别捕捉语句统计数据语句文本语句

It is also possible to use named iterators to support different ways of iterating through the same collection of data.

可以使用命名支持通过不同方式循环访问同一数据集合

There are three catchall icons: blue (for iterators), orange (for cursors), and green (for Transact-SQL language constructs).

种通用图标蓝色用于)、橙色用于游标绿色用于Transact-SQL语言构造)。

Only the slots associated with iterators that are actually dereferenced will be invoked.

实际引用关联插槽调用

Filters and transforms on iterators build on each previous example to show code patterns that are immediately useful in the real world.

前面每个例子基础进行过滤转换从而展示这种代码模式可以立即真实世界使用

But along the way we also got the itertools modules to combine and create various types of iterators.

但是这个过程出现itertools模块可以组合创建各种类型