If you've ever used event handlers in Swing, you have intimate knowledge of the Adaptor pattern.
如果您使用过Swing中的事件处理程序,则应该对适配器模式有一定的了解。
Ultimately, though, the Adaptor pattern tries to answer the question: "Can I get this square peg to fit into this round hole?"
从根本上说,适配器模式尝试解答的问题是:“我能否让这个方形木条适合这个圆孔?”
This pattern is used in conjunction with a service adaptor for the support of virtual providers.
这个模式可以与服务适配器一起使用来支持虚拟提供者。
This pattern is used in conjunction with a service adaptor for the support of virtual providers.
这个模式可以与服务适配器一起使用来支持虚拟提供者。
应用推荐