...概念供外部使用;从更低的角度看,为了便于开发人员使用我们包装的类型,很多时候也需要通过重载和连贯接口(Fluent Interface)的方式,将最"舒服"的类型外观提供给别人,在满足多态差异性的同时,在更小的子系统范围内--类内部实现更简明的外部接口。
基于112个网页-相关网页
以上来源于: WordNet
The main advantage of this style of fluent interface lies in its adaptability.
这种连贯接口的主要优势在于其适应性。
A compact, intuitive, and readable fluent interface that simplifies creation and maintenance of functional GUI tests.
有一个紧凑、直观、可读的连贯接口,能简化功能GUI测试的创建和维护。
To resolve this problem, we converted our Car class into a fluent interface, so that the code from Listing 3 became the fluent interface shown in Listing 4.
为了解决该问题,我们将car类转换为一个连贯接口,因而清单3中的代码变为清单4中的连贯接口。
应用推荐