JAVA設計模式(16) —迭代子模式(Iterator)

1 定義: 迭代子模式(Iterator)java Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.(它提供一種方法訪問一個容器對象中各個元素,而又不暴露該對象的內部細節。)算法 此模式是一個沒落的模式,基本
相關文章
相關標籤/搜索