网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Template Method
释义

Template Method

中文百科

模板方法 Template method pattern

(重定向自Template Method)
模板方法模式:UML类图
Método de plantilla en LePUS3 (leyenda)
Klassendiagramm einer Schablonenmethoden-Implementierung

模板方法模式定义了一个算法的步骤,并允许子类别为一个或多个步骤提供其实践方式。让子类别在不改变算法架构的情况下,重新定义算法中的某些步骤。在软件工程中,它是一种软件设计模式,和C++模板没有关连。

英语百科

Template method pattern 模板方法

(重定向自Template Method)
Template method: UML class diagram.
Template Method in LePUS3 (legend)
Klassendiagramm einer Schablonenmethoden-Implementierung

In software engineering, the template method pattern is a behavioral design pattern that defines the program skeleton of an algorithm in a method, called template method, which defers some steps to subclasses. It lets one redefine certain steps of an algorithm without changing the algorithm's structure. This use of "template" is unrelated to C++ templates.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/20 19:13:39