¶解释器模式
¶定义
Given a language,define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in ...
¶访问者模式
¶定义
Represent an operation to be performed on the elements of an objects structure.Vistor lets you define a new operation without changing the ...
¶迭代器模式
¶定义
Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.
它提供一种方法访问一个容器对象中各 ...
¶责任链模式
¶定义
Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request.Chain the receiving o ...