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

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

    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

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

    还有循环契约要素条件不变等等前置后置条件不变式基本要素

    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

  • Object Invariants are conditions specified for each instances of a class.

    对象不变量每个实例指定条件

    youdao

  • For example, many class or method invariants are first written as JUnit assertions; these invariant checks could be reused for production diagnostics if it did not automatically trigger exceptions.

    比如很多方法常量首先作为JUnit断言写入如果自动触发异常这些常量,则可以产品诊断中重复使用它们

    youdao

  • For example, they can help you test your custom Exception class, verify that your datatype's Equals & GetHashCode are consistent, and check IList invariants.

    例如可以测试定义的异常验证自定义类型Equals和GetHashCode方法是否一致以及检查IList的不变性。

    youdao

  • The concept of Design by Contract allows you to define some constraints and invariants of your class. Statically typed languages have a primitive version of this.

    契约设计这样概念允许我们在定义一些约束限制

    youdao

  • The concept of Design by Contract allows you to define some constraints and invariants of your class. Statically typed languages have a primitive version of this.

    契约设计这样概念允许我们在定义一些约束限制

    youdao

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

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

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