The Strategy Pattern的意思|示意

美 / / 英 / /

策略模式


The Strategy Pattern的网络常见释义

策略模式 3条评论 - 发文时间: 2006年11月5日正如 GOF 的经典著作《设计模式》所说,策略模式 (The Strategy Pattern) 的目的是,定义一组运算法则,并挨个进行封装,最后让它们之间可以相互作用。策略模式使.

战略模式 ... 遍历模式 (The Iterator Pattern) 战略模式 (The Strategy Pattern) 适配器模式 (The Adapter Pattern) ...

The Strategy Pattern相关短语

1、 Describing the Strategy Pattern 描述策略模式

2、 The strategy design pattern 策略设计模式 ; 策略模式

3、 The strategy and the pattern 整理对策与模式

The Strategy Pattern相关例句

Context and problems: This is a variation of the strategy design pattern that can be applied in architectural contexts for SOA.

环境和问题:这是策略设计模式的变体,可以在SOA的体系结构环境中应用。

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.

由于通常定义接口比定义类更好,模板方法模式通常被用于实现接口的策略。

Because the executor pattern encapsulated execution for all services, a common exception-handling strategy was applied to all services.

因为执行程序模式将所有服务的执行封装了起来,所以可以将一个通用的异常处理策略应用于所有服务。

This strategy is easily compatible with the popular Model-View-Controller (MVC) design pattern (see figure 3).

这个策略与流行的模型-视图-控制器(Model-View-Controller,MVC)设计模式相兼容(见图 3)。

This can be achieved with the pattern engine's merge strategy, which enables a merge of existing artifacts with new ones.

可以通过模式引擎的合并策略来实现,就是将现有构件与新生成的构件合并。

The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable.

策略模式定义了一系列的算法,并将每一个算法封装起来,而且使它们还可以相互替换。