JAVA设计模式(16) —迭代子模式(Iterator)

1 定义: 迭代子模式(Iterator)java Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.(它提供一种方法访问一个容器对象中各个元素,而又不暴露该对象的内部细节。)算法 此模式是一个没落的模式,基本
相关文章
相关标签/搜索