• Figure 4 shows a class diagram for the decorator pattern.

    4显示装饰器模式

    youdao

  • This class implements the Wrapper or Decorator pattern.

    该类实现包装装饰模式。

    youdao

  • The decorator pattern is used by the DelegatingMessageHandler class shown in Listing 7.

    清单7中的DelegatingMessage handler使用decorator模式

    youdao

  • The Decorator Pattern attaches additional responsibilities to an object dynamically.

    装饰者模式可以动态地一个对象增加其他职责

    youdao

  • An advantage of the decorator pattern is that you can easily tack on more than one decorator to the base at a time.

    装饰模式优点可以轻松地同时跟踪多个装饰器。

    youdao

  • The general "decorator pattern" is a design pattern that allows adding new behavior to an existing component dynamically.

    一般的“装饰模式一种设计模式,允许动态地现有组件添加新的行为

    youdao

  • Enter the decorator pattern, which allows you to add this functionality onto the AutomobileModel in a nice, clean class.

    进入装饰器模式模式允许通过一个优秀整洁的类功能添加到AutomobileModel

    youdao

  • First, I'll show a traditional implementation of the Decorator pattern in Groovy, then make it more dynamic in subsequent examples.

    首先演示修饰符模式Groovy中的传统实现然后再后续示例提高动态性

    youdao

  • By using the Decorator pattern, it is simple to separate the code that performs invocations from the code that provides caching itself.

    通过使用装饰模式实现执行调用代码与提供缓存的代码相分离,非常简单。

    youdao

  • The Strategy pattern can be used to implement operations' variability, and the Decorator pattern can be used to implement parameters' variability.

    Strategy模式用于实现操作可变性Decorator 模式可用于实现参数的可变性。

    youdao

  • Decorator Pattern Attaches additional responsibilities to an object dynamically. Decorators provide a flexible alternative to sub classing for extending functionality.

    装饰模式动态地责任附加对象上。若扩展功能装饰提供了比继承更有弹性替代方案

    youdao

  • You'll note that JDBC statements do provide an accessor for their connection; however, application servers and Web application frameworks frequently use the decorator pattern to wrap JDBC connections.

    注意到:jdbc语句确实它们连接提供存取器但是应用程序服务器Web应用程序框架频繁地使用修饰模式包装JDBC连接。

    youdao

  • The decorator process pattern does not only apply to human tasks, however, it can also be applied to allow time-based versioning for any type of long-running, asynchronous service.

    然而装饰流程模式不仅适用人工任务可以应用任何类型长时间运行异步服务进行基于时间的版本管理

    youdao

  • This pattern USES late binding to invoke the currently valid version of a decorator process representing the actual human task, and thus it enables late binding to that task.

    模式使用后期绑定调用表示实际人工任务装饰流程当前有效版本从而实现任务的后期绑定。

    youdao

  • If an SCA component needs to call the currently valid version of a human task, the decorator process for human tasks pattern can help to achieve this.

    如果SCA组件需要调用人工任务当前有效版本人工任务装饰流程模式可以帮助实现此目的。

    youdao

  • The Decorator? pattern attaches additional responsibilities to an object dynamically .

    装饰模式能进行动态地附加额外的职责

    youdao

  • The Decorator? pattern attaches additional responsibilities to an object dynamically .

    装饰模式能进行动态地附加额外的职责

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定