Once an interface has gotten too'fat' it needs to be splitinto smaller and more specific interfacesso that any clients of theinterface will only know about the methods that pertain to them.
一旦一个接口太大,则需要将它分割成一些更细小的接口,使用该接口的客户端仅需知道与之相关的方法即可。
Once an interface has gotten too'fat' it needs to be splitinto smaller and more specific interfacesso that any clients of theinterface will only know about the methods that pertain to them.
一旦一个接口太大,则需要将它分割成一些更细小的接口,使用该接口的客户端仅需知道与之相关的方法即可。
应用推荐