设计模式学习17 Chain Of Responsibility

应用场景:

 Chain the receiving objects and pass the request along the chain until an object handles it. 

实现代码:

你可能感兴趣的:(chain)