iterator
美
英 
例句
Iterator is so common that it has ceased to be a formal pattern at all; it is just a feature of the language.
因为迭代器太常见了,所以它根本就算不上是正式的模式;它只是一种语言的特性。
the index of the element that would be returned by a subsequent call to previous, or -1 if list iterator is at beginning of list.
接下去调用previous所返回元素的下标,如果列表迭代器已位于列表起始,返回-1。
the computation of an iterator to an element from a pointer or reference to that element should be a constant time operation.
从某个元素的指针或引用得到该元素的迭代器的计算要求是常量时间的操作。
While I was at it, I wrote the whole thing as a lazy iterator so you don't need to instantiate a large node-list if you don't need one.
在这里,我将所有的处理编写成一个滞后迭代器,因此在不需要的时候,不必实例化大型的节点列表。
Execution is restarted from this location the next time the iterator is called.
下次调用迭代器时将从此位置重新开始执行。
The Parallelism iterator at the boundary of two such regions is called Segment Repartition.
两个这样的区域边界上的Parallelism迭代器称为SegmentRepartition。
Then, at the bottom of the file, I use a foreach iterator to walk through the list of traces in the data.
然后在文件的后面,使用foreach迭代器遍历数据中的轨迹列表。
In the closure you call your first query and map the results of that query in an iterator to your child node, which is word.
在闭包里,调用第一个查询,并在迭代中将查询结果映射到word子节点。
You're able to use a familiar iterator-like syntax to search through the document to find the data you want.
您可以使用一种熟悉的类似迭代器的语法来搜索整个文档以查找所需的数据。
In general, the generic algorithms operate on iterator pairs that denote a range of elements in a container (or other sequence).
通常,泛型算法都是在标记容器(或其他序列)内的元素范围的迭代器上操作的。
G - This pane is part of a spatial iterator used to show the icon portion of the icon navigation link.
G–此窗格是空间迭代器的一部分,用于显示图标导航链接的图标部分。
Ordinarily , when we assign to a container element through an iterator, we assign to the element to which the iterator refers.
通常,用迭代器给容器元素赋值时,被赋值的是迭代器所指向的元素。
Although the charAt implementation directly returns char primitives, the iterator implementation must box each char into a Character object.
而charAt实现直接返回char原语,迭代器实现必须将每个char装箱为一个Character对象。
I then use short-hand for loop notion followed by an iterator with a closure.
然后使用简短的for循环,后面是一个带有闭包的迭代器。
This implementation iterates over the specified collection, and adds each object returned by the iterator to this collection, in turn.
对指定集合进行遍历,依次向当前集合添加每一个由迭代器返回的对象。
Such unique features include iterator blocks, parallel assignment, and oddities like the Range class.
这些独特的特性包括iterator块、并行赋值和像Range类这样奇妙的东西。
The iterator types define the dereference operator to return the object to which the iterator refers.
迭代器类型定义了解引用操作符来返回迭代器所指向的对象。
Pane H is actually contained within a spatial iterator, which allows for multiple header titles to be specified in multiple rows.
窗格H实际上包含在一个空间迭代器中,它允许在多行中指定多个Header的标题。
You can easily modify the Rope iterator to accommodate skipping forward by more than one character at a time.
很容易就能将Rope迭代器改成一次向前移动不止一个字符。
Removes from the underlying collection the last element returned by the iterator (optional operation).
迭代器从底层集合中删除刚返回的元素(可选操作)。
This option in particular demonstrates how the event iterator-based API stacks (no pun intended) on top of the cursor-based API.
这种用法可以很好地说明基于事件迭代器的API如何堆叠于基于指针的API之上。
end Returns an iterator that addresses the location succeeding the last element in a string.
返回最后一个位置的iterator地址。
Errors in passing an invalid category of iterator to an algorithm are not guaranteed to be caught at compile-time.
向算法传递无效的迭代器类别所引起的错误,无法保证会在编译时被捕获到。
Think of the eachRow method as an iterator on the result of the passed-in query.
请把eachRow方法当成传进来的查询生成的结果上的迭代器。
This method does not advance the iterator to the next argument.
此方法不会使迭代程序前进到下一个参数。
The element that the iterator points to can be both written to and read from any number of times.
迭代器指向的元素可以写入和读出任意多次。
Iterator that moves backward through a sequence. These iterators invert the meaning of ++ and --.
向后遍历序列的迭代器。这些迭代器颠倒了++和--的含义。
To specify an int variable for an iterator and a String variable for element name, use the code in Listing 17.
要为迭代器指定一个int变量并为元素名称指定一个String变量,请使用清单17中的代码。
For all intents and purposes, you can use an XMLCursor as a java. util. Iterator, except that you can also use it in a generic fashion.
不管出于何种目的,您都可以将XMLCursor作为java.util.Iterator使用,只是您也能够以泛型形式使用它。
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.
在本机上找到一个基数,或者通过迭代器从集合中检索到下一个基数后,尽量使用不超过一个调用。
These algorithms require forward iterators for the input sequence and an output iterator for the destination.
这些算法要求输入序列的前向迭代器以及目的地的输出迭代器。
Fundamentally, the for loop involves what is known as an iterator, which is used to move through the collection item by item.
本质上,for循环涉及到一个迭代器(iterator),用于在集合中逐项移动。
A generic iterator function, which can be used to seamlessly iterate over both objects and arrays.
通用例遍方法,可用于例遍对象和数组。
Some of the patterns covered are Singleton, Observer, Template Method, Iterator , and Proxy.
这些模式涵盖了单件模式,观察者模式,模板方法模式,迭代器模式和代理模式。
Similarly, if you want to use find, you need only to ensure that the arguments you pass to it are models of Input Iterator.
同样的,如果你想使用find,你只需要确保这些参数可以通过InputIterator模型。
This listing illustrates an internal iterator (also known as a push iterator because it pushes each element in turn to the code block).
该清单展示了内部迭代器(也称为push迭代器,因为它将每个元素依次推到代码块中)。
Even as objects get added to the collection, the original Iterator can proceed, working through the items in the original collection.
即使对象加入到了集合中,原来的Iterator也可以进行,继续遍历原来集合中的项。
UnsupportedOperationException - if the remove operation is not supported by this list iterator.
如果列表迭代器不支持remove操作时抛出。
Container operation that returns an iterator referring to the element one past the end of the container.
一种容器操作,返回指向容器的超出末端的下一位置的迭代器。
This iterator adaptor caches the result of dereferencing the underlying iterator.
这个迭代器适配器缓存底层迭代器解引用的结果。