go top

接口分离原则

网络释义

  the interface segregation principle

...n Principle): 依赖倒置原则(The Dependency Inversion Principle): 接口分离原则The Interface Segregation Principle): ..

基于164个网页-相关网页

  Interface Segregation Principle

* 接口分离原则Interface Segregation Principle):只有通过接口和具体实现类分离之后,才能在测试时为接口提供Mock或Stub。

基于18个网页-相关网页

  Interface Separation Principle

接口分离原则Interface Separation Principle),多个专用接口优于一个单一的通 用接口,接口的高内聚性可保证实现该接口的 类的实例对象可以只呈现为单一的角色。

基于12个网页-相关网页

  I The Interface Segregation Principle

... L Liskov Substitution Principle 里氏替换原则 I The Interface Segregation Principle 接口分离原则 D The Dependency Inversion Principle 依赖倒置原则 ...

基于4个网页-相关网页

有道翻译

接口分离原则

Interface separation principle

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 接口分离原则

    The Interface Segregation Principle.

    youdao

  • 分离原则策略机制分离接口引擎分离

    Rule of Separation: separate policy from mechanism; separate interfaces from engines.

    youdao

更多双语例句

百科

接口分离原则

接口分离原则指在设计时采用多个与特定客户类有关的接口比采用一个通用的接口要好。即,一个类要给多个客户使用,那么可以为每个客户创建一个接口,然后这个类实现所有的接口;而不要只创建一个接口,其中包含所有客户类需要的方法,然后这个类实现这个接口。

详细内容

以上来源于: 百度百科
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定