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.
這個迭代器適配器緩存底層迭代器解引用的結果。