JavaShuo
栏目
标签
接口分离原则(Interface Segregation Principle)
时间 2021-01-14
原文
原文链接
接口分离原则(Interface Segregation Principle)用于处理胖接口(fat interface)所带来的问题。如果类的接口定义暴露了过多的行为,则说明这个类的接口定义内聚程度不够好。换句话说,类的接口可以被分解为多组功能函数的组合,每一组都服务于不同的客户类,而不同的客户类可以选择使用不同的功能分组。 ISP 原则承认了对象设计中非内聚接口的存在。但它建议客户类不应该只通
>>阅读原文<<
相关文章
1.
接口隔离原则(Interface Segregation Principle)
2.
六大设计原则-接口隔离原则【Interface Segregation Principle】
3.
设计模式 接口隔离原则(Interface Segregation Principle)
4.
Java设计模式 七大原则(四) 接口分离原则(Interface Segregation Principle)
5.
Design Principle - Interface Segregation Principle
6.
Interface Isolation Principle(接口隔离原则)
7.
【iOS-设计模式】六大设计原则之接口隔离原则(ISP,Interface Segregation Principle)...
8.
设计原则之接口分离原则(ISP)
9.
接口隔离原则
10.
C#接口Interface,接口隔离原则,如何使用接口?
更多相关文章...
•
C# 接口(Interface)
-
C#教程
•
Kotlin 接口
-
Kotlin 教程
•
算法总结-滑动窗口
•
Docker容器实战(六) - 容器的隔离与限制
相关标签/搜索
principle
interface
原则
接口
分离连接法
分离
原则性
三原则
开发原则
坚持原则
MyBatis教程
Docker教程
Docker命令大全
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
eclipse设置粘贴字符串自动转义
2.
android客户端学习-启动模拟器异常Emulator: failed to initialize HAX: Invalid argument
3.
android.view.InflateException: class com.jpardogo.listbuddies.lib.views.ListBuddiesLayout问题
4.
MYSQL8.0数据库恢复 MYSQL8.0ibd数据恢复 MYSQL8.0恢复数据库
5.
你本是一个肉体,是什么驱使你前行【1】
6.
2018.04.30
7.
2018.04.30
8.
你本是一个肉体,是什么驱使你前行【3】
9.
你本是一个肉体,是什么驱使你前行【2】
10.
【资讯】LocalBitcoins达到每周交易比特币的7年低点
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
接口隔离原则(Interface Segregation Principle)
2.
六大设计原则-接口隔离原则【Interface Segregation Principle】
3.
设计模式 接口隔离原则(Interface Segregation Principle)
4.
Java设计模式 七大原则(四) 接口分离原则(Interface Segregation Principle)
5.
Design Principle - Interface Segregation Principle
6.
Interface Isolation Principle(接口隔离原则)
7.
【iOS-设计模式】六大设计原则之接口隔离原则(ISP,Interface Segregation Principle)...
8.
设计原则之接口分离原则(ISP)
9.
接口隔离原则
10.
C#接口Interface,接口隔离原则,如何使用接口?
>>更多相关文章<<