JAVA设计模式之 装饰模式【Decorator Pattern】 Home » 编程开发 » JAVA设计模式之 装饰模式【Decorator Pattern】 一、概述 动态地给一个对象增加一些额外的职责,就增加对象功能来说,装饰模式比生成子类实现更为灵活。装饰模式是一 … 阅读更多