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 模式可用于實現(xiàn)包含其他子服務的組合服務,而 Iterator 模式可用于實現(xiàn)子服務的遍歷。 返回 Iterator Pattern