我找到了一篇旧帖子,但没有说明我对Wrapper Classes使用的设计模式的理解,而且,从维基百科阅读时我没有得到任何明确的信息.
包装类是否真的使用任何设计模式?
如果使用模式,那么其模式是它的这些:Decorator Pattern,Facade Pattern或Adapter Pattern?
Decorator Pattern
Facade Pattern
Adapter Pattern
design-patterns facade decorator adapter wrapper
adapter ×1
decorator ×1
design-patterns ×1
facade ×1
wrapper ×1