In Figure 3, the gear box represents abstractions that deal generically with some fundamental data structure, and the yellow box represents portable code, encapsulating data inside it.
在图3中,齿轮箱代表处理一些基础数据结构的抽象,而黄色箱代表可移植代码,将数据封装在里面。
Thus, in addition to encapsulating data, it encapsulates data access logic.
因此,除了封装数据,也封装了数据访问逻辑。
Thus, in addition to encapsulating data, it encapsulates data access logic.
因此,除了封装数据,也封装了数据访问逻辑。
应用推荐