• (The class invariant above was effectively a field-invariant specification!)

    (上面不变条件实际上就是一个字段不变条件的规范!)

    youdao

  • A class invariant must hold before and after all method calls (once the object is constructed).

    方法调用之前之后必须保持不变(一旦对象已经构建)。

    youdao

  • That means that this property, the class invariant, must be satisfied whenever an instance of the class is created.

    意味着无论什么时候创建一个实例,属性(或者说类不变式)一致性都必须得到确保。

    youdao

  • It's as if the class invariant is added to the pre - and post-condition of every single exported routine of the class.

    如此看来,不变式好像附加到了类暴露例的前置后置条件上。

    youdao

  • A typical kind of property that you might want to express, say, in a class invariant for a graph class, is that the graph has no cycles.

    比如中,可能表述典型属性是该图没有回路。就是一个一谓词演算不可表述的属性。

    youdao

  • But more fundamentally, a class invariant is a way to characterize the fundamental consistency and integrity properties of the class and its instances.

    根本上讲,不变式一种刻画类实例基本一致性完整性方法

    youdao

  • The class Invariant guarantees (for the local class) that the state of the class will be maintained within specified tolerances at the end of each feature execution.

    不变式保证执行每个功能后,状态保持一个规定状态。

    youdao

  • The class Invariant guarantees (for the local class) that the state of the class will be maintained within specified tolerances at the end of each feature execution.

    不变式包管履行每个功能后,状况对峙在一个规定的状况。

    youdao

  • That is to say, assuming the class invariant was satisfied before the routine was called, the routine must ensure that class invariant is again going to be satisfied on exit.

    也就是说假设不变在该调用满足了,那么例程退出必须再次确保类不变式得到满足。

    youdao

  • What's more, in pure DBC terms, a class that abides by DBC rules has a contract with the outside world about the internal consistency that it will maintain, which is known as the class invariant.

    另外dbc术语中,遵循dbc规则针对维护内部一致性外部世界一个契约人所共知的类不变式

    youdao

  • The contract specification for BankAccount includes a class-wide invariant that the balance must always be greater than or equal to zero (sorry, no overdrafts allowed!).

    BankAccount的接口规范包含一个类范围的不变条件测试,即余额大于等于0(对不起允许透支)。

    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

  • By using potential well family method, we study the invariant sets and vacuum isolating behaviour of solutions to a class of nonlinear wave equations.

    应用位势方法研究一类非线性波动方程不变集合真空隔离,证明了当初始能量小于位势井深度时,此问题存在不变集合与解的真空隔离现象。

    youdao

  • This paper discusses a class of decoupled control systems of linear time-invariant systems, and introduces a simple decoupled method.

    本文研究线性系统一类控制系统,提出一种简便的解藕方法

    youdao

  • An explicit contract is any contract you declare in a class method, such as a precondition, a postcondition or an invariant.

    式的合同方法中,前提条件后,条件不变声明任何合同。

    youdao

  • An explicit contract is any contract you declare in a class method, such as a precondition, a postcondition or an invariant.

    式的合同方法中,前提条件后,条件不变声明任何合同。

    youdao

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

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

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