java设计模式之接口隔离原则(ISP)

接口隔离原则 Interface Segregation Principle

 

Clients should not be forced to depend upon interfaces that they don’t use

客户端不应该依赖它不需要的接口

 

The dependency of one class to another one should depend on the smallest possible interface

类间的依赖关系应该建立在最小的接口上

posted @ 2012-06-05 14:39  誑逩の蝸犇  阅读(197)  评论(0编辑  收藏  举报