定义:The Decorator Pattern attaches additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality. (装饰者模式可以动态地给一个对象增加其他职责。就扩展... Read More
posted @ 2010-07-10 17:00 gistone Views(248) Comments(0) Diggs(0)