iterator

  • 网络迭代器;迭代器模式;迭代子模式

iteratoriterator

iterator

迭代器

迭代器迭代器(iterator)提供了一种一般化的方法,对顺序或关联容器类型中的每个元素进行连续访问。每种容器类型都提供一个…

迭代器模式

迭代器模式(ITerator)的解决方案 迭代器模式的意图:通过顺序遍历或逆序遍历等方式访问集合对象(List)中的各元素子对象(obje…

迭代子模式

J2EE常用的设计模式 - 51CTO.COM ... Visitor( 访问者模式) Iterator迭代子模式) Mediator( 调停者模式) ...

用于遍历集合

2008年10月3日 随笔档案 - java技术 - BlogJava ... 隐藏值 iterator> 用于遍历集合

迭代程序

信息词汇英语翻译(E-L) ... iterative process 迭代过程 iterator 迭代程序 itf 交互式终端设备 ...

迭代器角色

1) 迭代器角色Iterator):迭代器角色负责定义访问和遍历元素的接口。2) 具体迭代器角色(Concrete Iterator):具体迭代 …

1
Iterator is so common that it has ceased to be a formal pattern at all; it is just a feature of the language. 因为迭代器太常见了,所以它根本就算不上是正式的模式;它只是一种语言的特性。
2
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。
3
the computation of an iterator to an element from a pointer or reference to that element should be a constant time operation. 从某个元素的指针或引用得到该元素的迭代器的计算要求是常量时间的操作。
4
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. 在这里,我将所有的处理编写成一个滞后迭代器,因此在不需要的时候,不必实例化大型的节点列表。
5
Execution is restarted from this location the next time the iterator is called. 下次调用迭代器时将从此位置重新开始执行。
6
The Parallelism iterator at the boundary of two such regions is called Segment Repartition. 两个这样的区域边界上的Parallelism迭代器称为SegmentRepartition。
7
Then, at the bottom of the file, I use a foreach iterator to walk through the list of traces in the data. 然后在文件的后面,使用foreach迭代器遍历数据中的轨迹列表。
8
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子节点。
9
You're able to use a familiar iterator-like syntax to search through the document to find the data you want. 您可以使用一种熟悉的类似迭代器的语法来搜索整个文档以查找所需的数据。
10
In general, the generic algorithms operate on iterator pairs that denote a range of elements in a container (or other sequence). 通常,泛型算法都是在标记容器(或其他序列)内的元素范围的迭代器上操作的。
11
G - This pane is part of a spatial iterator used to show the icon portion of the icon navigation link. G–此窗格是空间迭代器的一部分,用于显示图标导航链接的图标部分。
12
Ordinarily , when we assign to a container element through an iterator, we assign to the element to which the iterator refers. 通常,用迭代器给容器元素赋值时,被赋值的是迭代器所指向的元素。
13
Although the charAt implementation directly returns char primitives, the iterator implementation must box each char into a Character object. 而charAt实现直接返回char原语,迭代器实现必须将每个char装箱为一个Character对象。
14
I then use short-hand for loop notion followed by an iterator with a closure. 然后使用简短的for循环,后面是一个带有闭包的迭代器。
15
This implementation iterates over the specified collection, and adds each object returned by the iterator to this collection, in turn. 对指定集合进行遍历,依次向当前集合添加每一个由迭代器返回的对象。
16
Such unique features include iterator blocks, parallel assignment, and oddities like the Range class. 这些独特的特性包括iterator块、并行赋值和像Range类这样奇妙的东西。
17
The iterator types define the dereference operator to return the object to which the iterator refers. 迭代器类型定义了解引用操作符来返回迭代器所指向的对象。
18
Pane H is actually contained within a spatial iterator, which allows for multiple header titles to be specified in multiple rows. 窗格H实际上包含在一个空间迭代器中,它允许在多行中指定多个Header的标题。
19
You can easily modify the Rope iterator to accommodate skipping forward by more than one character at a time. 很容易就能将Rope迭代器改成一次向前移动不止一个字符。
20
Removes from the underlying collection the last element returned by the iterator (optional operation). 迭代器从底层集合中删除刚返回的元素(可选操作)。
21
This option in particular demonstrates how the event iterator-based API stacks (no pun intended) on top of the cursor-based API. 这种用法可以很好地说明基于事件迭代器的API如何堆叠于基于指针的API之上。
22
end Returns an iterator that addresses the location succeeding the last element in a string. 返回最后一个位置的iterator地址。
23
Errors in passing an invalid category of iterator to an algorithm are not guaranteed to be caught at compile-time. 向算法传递无效的迭代器类别所引起的错误,无法保证会在编译时被捕获到。
24
Think of the eachRow method as an iterator on the result of the passed-in query. 请把eachRow方法当成传进来的查询生成的结果上的迭代器。
25
This method does not advance the iterator to the next argument. 此方法不会使迭代程序前进到下一个参数。
26
The element that the iterator points to can be both written to and read from any number of times. 迭代器指向的元素可以写入和读出任意多次。
27
Iterator that moves backward through a sequence. These iterators invert the meaning of ++ and --. 向后遍历序列的迭代器。这些迭代器颠倒了++和--的含义。
28
To specify an int variable for an iterator and a String variable for element name, use the code in Listing 17. 要为迭代器指定一个int变量并为元素名称指定一个String变量,请使用清单17中的代码。
29
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使用,只是您也能够以泛型形式使用它。
30
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. 在本机上找到一个基数,或者通过迭代器从集合中检索到下一个基数后,尽量使用不超过一个调用。