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