摘要:
备忘录模式 概念 Memento is a behavioral design pattern that lets you save and restore the previous state of an object without revealing the details of its im 阅读全文
摘要:
中介者模式 概念 Mediator is a behavioral design pattern that lets you reduce chaotic dependencies between objects. The pattern restricts direct communication 阅读全文
摘要:
迭代器模式 概念 Iterator is a behavioral design pattern that lets you traverse elements of a collection without exposing its underlying representation (list, 阅读全文
摘要:
责任链模式 概念 Chain of Responsibility is a behavioral design pattern that lets you pass requests along a chain of handlers. Upon receiving a request, each 阅读全文
摘要:
命令模式 别名 Action、Transaction、Command 概念 Command is a behavioral design pattern that turns a request into a stand-alone object that contains all informat 阅读全文