1、定义模板方法模式(Template Method Pattern):定义一个操作中的算法的框架,而将一些步骤延迟到子类中。使得子类可以不改变一个算法的结构即可重定义该算法的某些特定步骤。
基于841个网页-相关网页
Command Pattern(行为模式)、Observer Pattern(观察者模式)、Template Method Pattern(模版方法)、State Pattern(状态模式)、Strategy Pattern(策略模式)
基于24个网页-相关网页
以上来源于: WordNet
The "bridge" role from the broker pattern was then implemented using the template method pattern to support remote service invocation using several different underlying communication technologies.
中介模式的“桥接”角色是使用模板方法模式实现的,它通过几种不同的基础通信技术,为远程服务调用提供支持。
Template method pattern of GOF and the realization of template method pattern in back tracing algorithm are introduced.
在此介绍采用GOF的模板方法模式及采用回溯算法的模板方法模式的设计与实现。
Such USES of the Template Method pattern offer good separation of concerns.
模板方法模式的这种用法提供了关注点的好的分离。
应用推荐