六大设计原则之接口隔离原则

接口隔离原则定义 接口隔离有两种定义:java Clients should not be forced to depend upon interfaces that they don’t use. 客户端不该该依赖它不须要的接口 那依赖什么呢?依赖它须要的接口,客户端须要什么接口就提供什么接口,把不须要的接口剔除,那就须要对接口进行细化,保证其纯洁性。web The dependency of
相关文章
相关标签/搜索