學習——模板方法模式(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
相關文章
相關標籤/搜索