摘要:
@ 什么是装饰器模式? 装饰器模式的定义: Attach additional responsibilities to an object dynamically keeping the same interface.Decorators provide a flexible alternative 阅读全文
摘要:
@ 什么是责任链模式? 职责链模式的定义: Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request.Chain the r 阅读全文