2010年7月29日
摘要: 一.策略模式 定义了一系列的算法,并将每一个算法封装起来,而且使它们还可以相互替换。策略模式让算法独立于使用它的客户而独立变化。(原文:The Strategy Pattern defines a family of algorithms,encapsulates each one,and makes them interchangeable. Strategy lets the algorith... 阅读全文
posted @ 2010-07-29 14:27 少 阅读(469) 评论(0) 推荐(0) 编辑