Chain of Responsibility td> | Depending on the request type (argument value), select an appropriate object from multiple objects and process it. td> tr>
|
Command td> | The processing of the request itself is made into an object, and a request with complicated contents is sent. td> tr>
|
Interpreter td> | Since the interpreter can be executed using the object structure obtained as a result of parsing as it is, it is easy to extend the syntax. td> tr>
The |
Iterator td> | Iterator interface makes it easily accessible regardless of the structure of the objects. td> tr>
|
Mediator td> | You can easily change the content of the interaction and add the part object. td> tr>
|
Memento td> | You can take a snapshot of an object's state at a given moment, save it, and use it to restore its original state. td> tr>
|
Observer td> | You can easily switch or increase the class to be checked and the class to be checked. td> tr>
|
State td> | Even if the state changes complicatedly, the processing contents can be switched simply, and the visibility of the state transition in the code is improved. td> tr>
|
Strategy td> | You can easily switch the algorithms used in the program while it is running. td> tr>
|
Template Method td> | One big process is decomposed into multiple steps, and the process contents are changed for each step while observing the execution order of the steps. td> tr>
|
Visitor td> | Even if there are several types of classes in a set of objects, you can add processing without modifying those classes. td> tr>
|