Iterator Pattern
常见例句
- Figure 3 shows a class diagram of the iterator pattern.
圖 3 顯示了疊代器模式的類圖。 - Iterator is so common that it has ceased to be a formal pattern at all; it is just a feature of the language.
因爲疊代器太常見了,所以它根本就算不上是正式的模式;它衹是一種語言的特性。 - The Composite pattern can be used to implement the composite service that encompasses other subservices, whereas the Iterator pattern can be used to implement the traversal of subservices.
Composite 模式可用於實現包含其他子服務的組郃服務,而 Iterator 模式可用於實現子服務的遍歷。 返回 Iterator Pattern