chain of responsibility pattern
...HashMap实现缓冲池重用现有的同类对象,如果未找到匹配的对象,则创建新对象 行为型模式 这些设计模式特别关注对象之间的通信。 责任链模式(Chain of Responsibility Pattern):拦截的类都实现统一接口,每个接收者都包含对下一个接收者的引用。
基于752个网页-相关网页
一、责任链模式的内容 职责链模式(Chain of Responsibility Pattern):避免请求发送者与接收者耦合在一起,让多个对象都有可能接收请求,将这些对象连接成一条链,并且沿着这条链传递请求,直到有对...
基于242个网页-相关网页
更多关于 责任链设计模式(Chain of Responsibility pattern) 问题
基于20个网页-相关网页
编译: 责任链形式(Chain of Responsibility Pattern)
基于16个网页-相关网页
chain of responsibility pattern
责任链模式
以上为机器翻译结果,长、整句建议使用 人工翻译 。
-
The Chain of Responsibility pattern supports decoupling by passing a request between potential receivers, whereas the command pattern supports using a command object to encapsulate a request.
责任链模式通过在可能的接受方传递请求来解耦,而命令模式是通过将请求封装成对象。
youdao
更多双语例句