• You can do the same thing for the Contract class, as shown in Listing 3.

    可以contract相同事情如清单3

    youdao

  • Perhaps a first-class Contract class should be created to represent the relationship between Book and Author better.

    或许应该创建一个一级Contract更好地表示BookAuthor之间关系。

    youdao

  • Middle-class families contract with a puller to take a child to school and pick him up; the puller essentially becomes a family retainer.

    中产阶级家庭车夫签订合同孩子学校以及孩子放学。车夫实际上变成了一家仆

    youdao

  • One of the major benefits of Design by Contract is that it provides explicit information within the interface or class itself about expected behavior.

    契约式设计主要优势接口本身当中提供了关于预期行为的显式信息

    youdao

  • This interface defines the contract between the class and any of its clients.

    接口与其所有使用者之间定义契约

    youdao

  • That way, the parameter declaration would serve as a contract between the class and its clients, and we could statically check that both obey the contract.

    参数声明充当与其客户机之间契约这样我们可以静态地检查两者是否遵守契约。

    youdao

  • When you're writing code, think about the contractthe particular bit you're writing will expose to its client, whether it's a method, a class, or a group of interacting classes.

    编写代码时,应考虑这个契约——将要编写特定内容都将暴露客户机无论此内容方法、一个还是一个与交互

    youdao

  • Design by Contract lets the class designer concentrate on the logic that implements the class functionality without worrying about the validity of arguments.

    契约式设计设计者专注实现了类的功能性逻辑不用担心实参的有效性

    youdao

  • Design by contract avoids extra code and improves performance, as long as all clients of a class abide by the contract.

    契约式设计避免了额外的编码提高了性能只要所有客户遵守契约

    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

  • For modeling a Service Contract, you can apply the Service Contract stereotype (Figure 4) on a class or an interface.

    为了对ServiceContract建模可以一个或者界面上应用Service Contract构造型(4)。

    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

  • Furthermore, I'd be tempted to simply consider the entire hierarchy as one entity for now, since the remaining class, Country, only adds one contract, and frankly it's not all that exciting.

    而且现在我会倾向整个层次结构简单地看作实体因为剩余Country仅仅添加了一个契约坦白地说不是那样令人兴奋。

    youdao

  • Any class that implements that interface agrees to the contract.

    实现interface所有都遵循契约。

    youdao

  • Contract programming means that one class provides a contract to anotherin other words: "Here is what I will do, and you don't need to know how it's done."

    契约编程意味着一个类提供一张契约——换言之:“的工作,需要知道怎样完成的”。

    youdao

  • Blue even allows you to extend classes dynamically and contract them (that is, remove class attributes from an extended class).

    Blue甚至允许动态地扩展收缩(移除扩展的类的属性)。

    youdao

  • This class fulfills the business component contract with the CAI architecture by implementing interfaces of the CAI component SPI.

    这个通过实现CAIComponentSPI接口使用CAI架构履行业务组件契约

    youdao

  • The API-contract way is to define a class known to both the throwing client and the catching harness.

    API契约方式需要定义抛出异常客户机捕捉异常的装置需要知道

    youdao

  • Following contract award, it would develop and integrate an advanced combat system for the new submarine class, serving as the prime contractor and systems integrator.

    签订合同后,洛·马公司一代潜艇开发整合先进作战系统,并作为主承包商系统集成商提供服务

    youdao

  • But in the States I think students come to class to learn as much from each other as from the teacher, and so participation is viewed positively and seen as part of the unwritten contract.

    认为,两者间最大差别,我们坚信课堂教学过程学生不但要向教授学习更需要互相启发、分享见解,所以互动式教学是有积极意义的,也是一种美国式的约定俗成。

    youdao

  • The endpoints specify a contract that defines which methods of the service class will be accessible through the endpoint.

    端点指定服务通过访问方法contract

    youdao

  • The procurement contract for two ships of the Mistral-class is to be signed by year-end.

    这两Mistral级舰船采购合同将于年底前签署

    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

  • 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

  • We use fetch to tune performance. We may use lazy to define a contract for what data is always available in any detached instance of a particular class.

    我们可以采用延迟定义一些契约抓取改善性能,对特定类某个管的实例,知道有哪些数据可以使用的。

    youdao

  • I told you that we want first class goods. So the quality, specification and price are clarified in our contract. Do you remember those details?

    当初一等品。所以合同质量规格价钱写的很明确还记得吗?

    youdao

  • Generally, such as changing the class and dropping out for a certain time all belong to the contract alteration.

    现实生活常见休学时间情形属于教育合同变更范畴。

    youdao

  • Your contract interface can also inherit this class.

    合约介面可以继承这个类别

    youdao

  • It is followed by the implementation of the new contract module in detail, including the class diagram and class methods which are derived from the requirement.

    随后契约模块实现做了详细的介绍,陈述了需求推导结构图以及类的方法

    youdao

  • It is followed by the implementation of the new contract module in detail, including the class diagram and class methods which are derived from the requirement.

    随后契约模块实现做了详细的介绍,陈述了需求推导结构图以及类的方法

    youdao

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

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

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