迭代器模式(Iterator Pattern)(别名:游标 Cursor)
1、定义
提供一种方法顺序访问一个聚合对象中的各个元素,而又不需要暴露该对象的内部表示。(Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation. From <Design Pattern> GOF )
2、UML类图
(等待补上)