摘要:
定义 策略模式(Strategy Pattern)也叫政策模式,是一种比较简单的模式。 英文原话:Define a family of algorithms,encapsulate each one,and make them interchangeable. 翻译:定义一组算法,将每个算法都封装起 阅读全文
posted @ 2018-04-20 15:00
秋夜雨巷
阅读(374)
评论(0)
推荐(0)
摘要:
定义 责任链模式(Chain of Responsibility Pattern)是一种常见的行为模式。 责任链模式英文原话是:Avoid coupling the sender of a request to its receiver by giving more than one object 阅读全文
posted @ 2018-04-20 11:22
秋夜雨巷
阅读(12527)
评论(0)
推荐(2)


浙公网安备 33010602011771号