mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-16 18:10:13 +08:00
Update spring-design-patterns-summary.md
279行,包装器是装饰者的别名,不是适配器;应是笔误
This commit is contained in:
parent
4b9dbce395
commit
ca01f50add
@ -276,7 +276,7 @@ public class DemoPublisher {
|
||||
|
||||
## 适配器模式
|
||||
|
||||
适配器模式(Adapter Pattern) 将一个接口转换成客户希望的另一个接口,适配器模式使接口不兼容的那些类可以一起工作,其别名为包装器(Wrapper)。
|
||||
适配器模式(Adapter Pattern) 将一个接口转换成客户希望的另一个接口,适配器模式使接口不兼容的那些类可以一起工作。
|
||||
|
||||
### spring AOP中的适配器模式
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user