迭代器模式(Iterator Pattern): 属于行为型模式,提供一种遍历集合元素的统一接口,用一致的方法遍历集合元素,不需要知道集合对象的底层表示,即: 不暴露其内部结构。
设计模式:迭代器模式(Iterator Pattern)
猜你喜欢
转载自blog.csdn.net/m0_37564426/article/details/103745751
今日推荐
周排行