The Adapter Pattern的意思|示意

美 / / 英 / /

适配器模式


The Adapter Pattern的网络常见释义

适配器模式 适配器模式 (The Adapter Pattern) 观测模式 (The Observer Pattern)

The Adapter Pattern相关例句

In this case, we can build an AOP version of the Adapter pattern that will solve the immediate problem and provide a step towards a more organized, better-designed system.

在这种情况下,我们可以建立Adapter模式的一个版本来解决即时的问题和为一个更有组织的,更好设计的系统提供一个步骤。

The canonical adapter pattern converts endpoints' native bus-attachment protocols to a standard protocol, normalizes payload, and reverses these transformations upon delivery.

规范化适配器模式将端点的本机总线附加协议转换为标准协议,实现有效负载规范化,并在交付时进行这些转换的反向转换。

Figure 1 shows a class diagram of the adapter pattern.

图1显示了适配器模式的类图。

So, if you wanted to apply an adapter to one of your designs, you'd pull that element off the palette and make some manipulations in the tool to actually transform your design to use the pattern.

因此,如果希望将适配器应用到设计中,将从选择面板选择对应的元素,并在工具中进行一些操作,以对设计进行转换,从而实使用该模式。

Use the adapter pattern when you need to convert an object of one type to an object of another type.

在需要将一类对象转换成另一类对象时,请使用适配器模式。

Then we applied this pattern to the configuration object provided, ra, which is associated with a specific CICS resource adapter to get the connection factories defined for this adapter.

然后,我们将此模式应用于提供的配置对象,ra,它与具体的 CICS 资源适配器相关联,从而获得为此适配器定义的连接工厂。