学习——模板方法模式(Template Method Pattern)

模板方法模式(Template Method Pattern) 1. 模板方法模式的定义 模板方法模式(Template Method Pattern)其定义以下: Define the skeleton of an algorithm in an operation,deferring some steps to subclasses.Template Method lets subclasse
相关文章
相关标签/搜索