摘要:
一、迭代器模式简介(Brief Introduction) 迭代器模式(Iterator Pattern),提供一种方法顺序访问一个聚合对象中元素,而不暴露改集合对象的内部表示。 Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.二、解决的问题(What To Solve) 在软件构建过程中,集合对象内部结构常常变化各异。但对于这些集合对象,我们希望在不暴露其内部结构的同时,可以让外部客户代码透明地访问.. 阅读全文
posted @ 2012-05-28 18:39
Edward_诺
阅读(2351)
评论(0)
推荐(5)

浙公网安备 33010602011771号