文件名称:zerenlian2
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- wangf*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
责任链模式是一种对象的行为模式, 在责任链模式里,很多对象由每一个对象对其下家的引用而连接起来形成一条链。请求在这个链上传递,直到链上的某一个对象决定处理此请求。发出这个请求的客户端并不知道链上的哪一个对象最终处理这个请求,这使系统可以在不影响客户端的情况下动态的重新组织链和分配责任。例子:击鼓传花
2、 源代码:
//一个击鼓传花的例子-Chain of Responsibility pattern is an object' s behavior, in the responsibility chain model, many objects from each object reference to its connection under the house to form a chain. Transfer request in the chain until the chain of a decision to process the request object. Client sent the request does not know which of the chain end to handle the request object, which makes the system without affecting the client in the case of dynamic re-organization chain and distribution of responsibilities. Example: pass flower drum 2, the source code:// pass to spend an example of a drum
2、 源代码:
//一个击鼓传花的例子-Chain of Responsibility pattern is an object' s behavior, in the responsibility chain model, many objects from each object reference to its connection under the house to form a chain. Transfer request in the chain until the chain of a decision to process the request object. Client sent the request does not know which of the chain end to handle the request object, which makes the system without affecting the client in the case of dynamic re-organization chain and distribution of responsibilities. Example: pass flower drum 2, the source code:// pass to spend an example of a drum
(系统自动生成,下载前可以参看下载内容)
下载文件列表
JiaShe.java
JiaShe.class
Jiazheng.java
JiaZheng.class
Playe.java
Player.java
Player.class
DrumBeater.java
DrumBeater.class
JiaBaoYu.java
JiaBaoYu.class
JiaHuan.java
JiaHuan.class
JiaMu.java
JiaMu.class
JiaShe.class
Jiazheng.java
JiaZheng.class
Playe.java
Player.java
Player.class
DrumBeater.java
DrumBeater.class
JiaBaoYu.java
JiaBaoYu.class
JiaHuan.java
JiaHuan.class
JiaMu.java
JiaMu.class