提交 d5f52ede 编写于 作者: I Ilkka Seppala

Improve Command Javadoc

上级 a2f3d587
......@@ -2,7 +2,9 @@ package com.iluwatar.command;
/**
*
* In Command pattern actions are objects that can be executed and undone.
* The Command pattern is a behavioral design pattern in which an object is used to encapsulate all information
* needed to perform an action or trigger an event at a later time. This information includes the method name,
* the object that owns the method and values for the method parameters.
* <p>
* Four terms always associated with the command pattern are command, receiver, invoker and client. A command
* object (spell) knows about the receiver (target) and invokes a method of the receiver. Values for parameters of
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册