Description: When there is no change of the original class files and the use of inheritance, and dynamic expansion of an object function. It is by creating a wrapper object, object is to wrap the real decoration.
To Search:
File list (Check if you may need any files):
5.装饰模式\Client.java
..........\Component.java
..........\ConcreteComponent.java
..........\ConcreteDecorator1.java
..........\ConcreteDecorator2.java
..........\Decorator.java
5.装饰模式