Such USES of the Template Method pattern offer good separation of concerns.
模板方法模式的这种用法提供了关注点的好的分离。
A servlet that USES the Template Method pattern to encapsulate a three-step workflow.
一个采用Template Method模式的Servlet封装一个包含三个步骤的工作流。
I am saying exposing abstract blocks in template method pattern is better in many scenarios.
我说暴露文摘块模板方法模式是更好的在许多情况下。
The similarity into the template method is introduced, which finds the rules of concern by pruning.
提出一种基于相似性的关联规则启发式发现方法。
This differs from the Template Method pattern in that the abstract superclass doesn't handle workflow.
模板方法模式和抽象类的不同在与处理工作流程。
Similarly, classes using the Template Method pattern contain a series of steps, and some are left blank.
类似地,采用Template Method模式的类也包含一系列的步骤,而其余的则留空。
This paper proposes a primary and secondary template method to construct the conceptual relation of fairy tale.
提出一种主次模板方法,构建面向童话故事的概念关系。
Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm's structure.
模板方法模式使得子类可以不改变一个算法的结构即可重定义该算法的某些特定步骤。
Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm's structure.
模板方法使子类可以在不改变一个算法的结构的情况下,就可以重定义该算法的某些特定步骤。
Template method pattern of GOF and the realization of template method pattern in back tracing algorithm are introduced.
在此介绍采用GOF的模板方法模式及采用回溯算法的模板方法模式的设计与实现。
An alternative to the Template Method is the Strategy design pattern, which factors the variant behavior into an interface.
模板方法模式的另一个选择是策略模式,它抽取了多变的行为到一个接口中。
The Strategy design pattern takes a little more work to implement than the Template Method pattern, but it is more flexible.
策略设计模式比模板方法模式花费了更多的工作去实现,但是它也更灵活。
The arithmetic USES template method to extract feature, making operation more easily and result of extracted feature better.
该算法用模板法进行提取特征,这种方法更易操作,提取特征的效果也好。
The invention provides a method for synthesizing tin oxide nano-crystal by combining template method with hydrothermal condition.
本发明提供一种模板法结合水热条件合成氧化锡纳米晶的方法。
The execute method delegates to an abstract template method, doExecute(), which is responsible for proceeding with the original join point.
execute方法委托抽象的模板方法doExecute()负责继续处理原始的连接点。
This is slightly more complex to implement than the version using concrete inheritance with the Template Method pattern, but is more flexible.
这稍微的更复杂去实现比用模板方法模式在类继承的版本中,但是也更灵活。
It extracts the concept pair of the fairy tale, experimental results show that the primary and secondary template method has high precision rate.
对童话故事内容进行抽取概念对的实验,结果表明,采用主次模板方法具有较高的正确率。
When the assertions fail, the methods throw AssertionFailedError, which TestResult catches and interprets in the result-handling fixture template method.
如果断言失败,那么这些方法将抛出AssertionFailedError,TestResult在结果处理装置模板方法中捕获这些异常并进行解释。
Based on the phrase-standard grammar system, a hybrid-template method is planned out to realize the language generator of Chinese spoken dialogue system.
基于短语本位语法体系,本文提出了一个混合模板方法用于实现汉语口语对话系统语言生成器。
As it's usually better to define types in interfaces rather than classes, the Template Method pattern is often used as a strategy to implement an interface.
由于通常定义接口比定义类更好,模板方法模式通常被用于实现接口的策略。
The Template Method pattern suggests that I should move common boilerplate code up the inheritance hierarchy, deferring algorithmic details to child classes.
Template Method模式建议,应当将公共模板代码移到继承层次结构之上,将算法细节推迟到子类。
A new image enhancement algorithm based on covering template method was proposed in allusion to problem of blurring of edge contour induced by using the method.
针对掩模法存在边缘模糊负面效应的问题,提出了一种基于掩模法的新型图像增强算法。
Now, given that we're using the Template Method pattern, think of the methods in Listing 4 as the blanks and the code in Listing 5 as the story that assembles them
现在,假设我们正在使用Template Method模式,那么我们可以将清单4中的方法看作是空白,而清单5中的代码是组成故事的情节
The Template Method pattern defines the skeleton of an algorithm in a base class, using abstract methods and overriding to defer individual details to child classes.
Template Method模式定义了基类算法的骨架,使用了抽象方法和覆盖将具体细节放到子类中。
Using the template method for implementing the bridge role of the broker pattern provided a mechanism for adding alternative types of external communication in the future.
使用模板方法实现中介模式的桥接角色,这种做法提供了一种可以在将来添加外部通信备用类型的机制。
Simulation result showed that target recognition ratio can be improved by 7.8% with the modified algorithm, which shows that the decision template method is effective.
仿真结果表明改进的决策模板法比经典的决策模板法识别率提高7.8% ,是一种比较有效的识别方法。
The polymer foils irradiated by heavy ions can be used as templates to prepare metallic nanowires and some inorganic salt nanowires. It is called "ion-track template method".
重离子辐照的高分子有机膜,经过适当的处理,可以作为模板制备金属和可溶性盐纳米线,此方法称为离子径迹模板法。
The paper recommended two methods for velocity analysis in VTI medium: non-hyperbolic P-wave velocity analysis and template method, which achieved practical and stable effects.
文中推荐VTI介质P波非双曲线速度分析及量板法两种方法,得到了较为实用、稳定的结果。
This dissertation mainly studies on the preparation of polymeric-inorganic composite microspheres of core-shell structure based on template method of polymeric hydrogel microspheres.
本论文主要对基于高分子水凝胶微球为模板制备有机—无机复合材料进行了研究。
Always make the abstract parent class implement an interface. The Template Method design pattern is especially valuable in framework design (discussed towards the end of this chapter).
总是使抽象父类实现一个接口。模板方法设计模式在框架设计中特别有价值(在这章的结尾讨论了)。
应用推荐