文件名称:Command
介绍说明--下载内容来自于网络,使用问题请自行百度
命令模式实现餐厅
将来自客户端的请求传入一个对象,从而使你可用不同的请求对客户进行参数化。用于“行为请求者”与“行为实现者”解耦,可实现二者之间的松耦合,以便适应变化。分离变化与不变的因素。
①接收者Receiver:是一个类的实例,负责执行与请求相关的具体操作;
②命令接口Command:封装请求的若干个方法;
③具体命令ConcreteCommand:实现命令接口类的实例;
④请求者Invoker:是一个包含Command接口变量的类的实例。请求者负责
调用具体命令,让具体命令执行那些封装了请求的方法。(Command pattern.
The request from the client is passed into an object so that you can parameterize the client with different requests. Used for "behavior requester" and "behavior realization" decoupling, can achieve between the two loose coupling, in order to adapt to change. Separation, change, and constant factor.)
将来自客户端的请求传入一个对象,从而使你可用不同的请求对客户进行参数化。用于“行为请求者”与“行为实现者”解耦,可实现二者之间的松耦合,以便适应变化。分离变化与不变的因素。
①接收者Receiver:是一个类的实例,负责执行与请求相关的具体操作;
②命令接口Command:封装请求的若干个方法;
③具体命令ConcreteCommand:实现命令接口类的实例;
④请求者Invoker:是一个包含Command接口变量的类的实例。请求者负责
调用具体命令,让具体命令执行那些封装了请求的方法。(Command pattern.
The request from the client is passed into an object so that you can parameterize the client with different requests. Used for "behavior requester" and "behavior realization" decoupling, can achieve between the two loose coupling, in order to adapt to change. Separation, change, and constant factor.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Command\.classpath
Command\.project
Command\.reverse.properties
Command\.settings\org.eclipse.jdt.core.prefs
Command\bin\jdp\ChickenCommand.class
Command\bin\jdp\ChopCommand.class
Command\bin\jdp\Client.class
Command\bin\jdp\Command.class
Command\bin\jdp\CommandQueue.class
Command\bin\jdp\CookApi.class
Command\bin\jdp\CookManager.class
Command\bin\jdp\DuckCommand.class
Command\bin\jdp\FishCommand.class
Command\bin\jdp\HotCook.class
Command\bin\jdp\MenuCommand.class
Command\bin\jdp\uml.uml
Command\bin\jdp\uml.umldi
Command\bin\jdp\Waiter.class
Command\src\jdp\ChickenCommand.java
Command\src\jdp\ChopCommand.java
Command\src\jdp\Client.java
Command\src\jdp\Command.java
Command\src\jdp\CommandQueue.java
Command\src\jdp\CookApi.java
Command\src\jdp\CookManager.java
Command\src\jdp\DuckCommand.java
Command\src\jdp\FishCommand.java
Command\src\jdp\HotCook.java
Command\src\jdp\MenuCommand.java
Command\src\jdp\uml.uml
Command\src\jdp\uml.umldi
Command\src\jdp\Waiter.java
Command\bin\jdp
Command\src\jdp
Command\.settings
Command\bin
Command\src
Command
Command\.project
Command\.reverse.properties
Command\.settings\org.eclipse.jdt.core.prefs
Command\bin\jdp\ChickenCommand.class
Command\bin\jdp\ChopCommand.class
Command\bin\jdp\Client.class
Command\bin\jdp\Command.class
Command\bin\jdp\CommandQueue.class
Command\bin\jdp\CookApi.class
Command\bin\jdp\CookManager.class
Command\bin\jdp\DuckCommand.class
Command\bin\jdp\FishCommand.class
Command\bin\jdp\HotCook.class
Command\bin\jdp\MenuCommand.class
Command\bin\jdp\uml.uml
Command\bin\jdp\uml.umldi
Command\bin\jdp\Waiter.class
Command\src\jdp\ChickenCommand.java
Command\src\jdp\ChopCommand.java
Command\src\jdp\Client.java
Command\src\jdp\Command.java
Command\src\jdp\CommandQueue.java
Command\src\jdp\CookApi.java
Command\src\jdp\CookManager.java
Command\src\jdp\DuckCommand.java
Command\src\jdp\FishCommand.java
Command\src\jdp\HotCook.java
Command\src\jdp\MenuCommand.java
Command\src\jdp\uml.uml
Command\src\jdp\uml.umldi
Command\src\jdp\Waiter.java
Command\bin\jdp
Command\src\jdp
Command\.settings
Command\bin
Command\src
Command
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.