Class Interfaces versus Object Interfaces 类接口与对象接口
Expose interfaces on class hierarchies 暴露接口的类层次结构
The provider class interfaces with the system of your choice for managing transaction authorization.
这个 provider 类与管理事务授权的系统进行交互。
In the same way that we discovered function interfaces by encapsulation and generalization, we can discover class interfaces by data encapsulation.
之前我们对函数接口进行过封装和泛化的处理,现在也可以通过数据封装来改进类的接口。
Object-oriented should find pertinent objects, factor them into classes at the right granularity, define class interfaces and inheritance hierarchies, and establish key relationships among them.
面向对象要求找到相关的对象,以适当的粒度将它们归类,再定义类的接口和继承层次,建立对象之间的基本关系。
应用推荐