模版方法(Template Method Pattern)
摘要:
Template Method:Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the alg... 阅读全文
posted @ 2010-04-14 19:54 ethanchan 阅读(183) 评论(0) 推荐(0) 编辑