装饰模式的定义 装饰模式(Decorator Pattern)是一种比较常见的模式,其定义如下: Attach additional responsibilities to an object dynamically keeping t...