go top

class invariants

网络释义

  类不变量

前置条件和后置条件运用在各个方法上,有的契约描述需要运用在整个类层次上,这种契约(断言)叫做类不变量(Class Invariants)。例如DICTIONARY的例子中,不变量可能是下面这样:

基于28个网页-相关网页

  类的不变式

...实现细节文档应该与共有接口注释和继承接口注释分开, 最好不要放在头文件中,并包含一个简练,完整的class invariants(类的不变式)的列表

基于12个网页-相关网页

有道翻译

class invariants

类不变量

以上为机器翻译结果,长、整句建议使用 人工翻译 。

双语例句

  • Other features include class invariants, non-nullable reference types, and enhanced static analysis capabilities.

    其他的特性还包括类不变量、非空引用类型和加强的静态分析功能。

    youdao

  • OVal isn't the only DBC library available, and in fact its DBC constructs are fairly limiting compared to other frameworks (for example, it doesn't offer an easy way to specify class invariants).

    OVal并不是惟一可用的dbc库,事实上其DBC结构对比其他框架来说是相当有限的(例如,它未提供指定类不变式的简易方法)。

    youdao

  • There are also loop invariants and a few others, but pre - and post-conditions and class invariants are really the basic fabric of contracts.

    还有循环不变式等等,但前置、后置条件和类不变式是基本要素。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定