• 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
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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