• 习惯五:可以任意次序调用行为方法。

    Habit 5: Behavior Methods Can Be Called in Any order.

    youdao

  • 有了清单11中编写的新的行为方法之后,现在可以来运行它 —但是这时会产生一个错误,如清单 13 所示。

    With the new behavior method coded in Listing 11, it's time to run it — but doing so indicates a failure, as shown in Listing 13.

    youdao

  • 鼓励员工保持健康的一个更有效的方法是鼓励他们养成健康的行为习惯。

    A more productive method of encouraging health among employees is to promote healthy behaviors.

    youdao

  • 在本教程中,您将了解如何采用各种方法对系统进行自定义、更改其行为、并使其按照您所希望的方式进行工作。

    In this tutorial, you learn how to customize the system in various ways, changing its behavior and getting it to work the way you want it to.

    youdao

  • 上节课我们讨论了动物行为的一些模式,今天的课我们将集中讨论动物研究中使用的方法。

    Last time, we discussed some patterns of animal behaviour, and in today's lecture we will concentrate on the methods used in the study of animals.

    youdao

  • 尽管罚款是惩罚这些行为的一种方法,但绝不是唯一的方法。

    Though penalty is one of the methods to punish this sort of behavior, it is never the only way.

    youdao

  • 如果您像其他许多程序员一样不喜欢为代码加注,则单元测试是记录代码行为的一种方法。

    If you're like many programmers who aren't fond of commenting code, unit tests are a way of documenting your code behavior.

    youdao

  • 但好消息是你可以学习一些应对他们行为的简单方法。

    But the good news is there are simple ways you can learn to deal with their behaviors.

    youdao

  • 这些鸟很难观察,因为它们生活在山区森林里,所以研究人员在一些鸟的尾巴上安装了微型摄像机,以此作为一种研究它们行为的方法。

    The birds are hard to observe, as they live in a region of mountainous forest, so the researchers have attached tiny cameras to the tails of some birds, as one method of investigating their behaviour.

    youdao

  • 我们仅仅重新定义需要修改其行为的方法。

    We only redefine the methods whose behavior we need to modify.

    youdao

  • 委托模式将提供一种基于各种条件委托行为的方法。

    The delegate pattern provides a way of delegating behavior based on different criteria.

    youdao

  • 方法行为的签名必须匹配其规格操作。

    The signature for a method behavior must match its specification operation.

    youdao

  • 类是按照它们的名称、属性(或者数据),以及行为(或者方法)来定义的。

    Classes are defined in terms of their name, attributes (or data), and behaviors (or methods).

    youdao

  • PlayerControl接口有许多用来控制播放器的行为的方法。

    The PlayerControl interface has many methods to control the player's behaviors.

    youdao

  • 因为我们要建模的是数据而不是行为,可以忽略方法部分。

    Because you'll be modeling data rather than behavior, you can ignore the methods.

    youdao

  • 它同样使定义“transactionattributes”来映射事务行为到方法上变得简单的多。

    It also becomes easier to define "transaction attributes" mapping transactional behavior onto methods.

    youdao

  • 也就是说,我们在改变方法的行为。

    That is, we are changing the behavior of the method.

    youdao

  • 根据这些原则,对数据bean进行了重新设计以使它们不具备行为和方法。

    With those principles in mind, data beans have been redesigned so they have no behavior and no methods.

    youdao

  • 清单12.equals方法的默认行为。

    Listing 12. The default behavior of the equals method.

    youdao

  • 类的任何行为都必须作为协议方法实现。

    Any behavior of the class must be implemented as protocol methods.

    youdao

  • 方面功能可以通过多种方法编排对象的行为。

    Aspect functionality can be weaved around an object's behavior in many ways.

    youdao

  • “所有这些国家都将受到某种影响,它们必须改变他们的行为和商业方法,”Arif说。

    “All these countries are going to be affected in some way and they’ve got to change their behavior and the way they do business,” Arif says.

    youdao

  • 如果愿意的话,还可以将行为委派给方面的公共方法。

    You can also delegate the behavior to a public method on the aspect if you choose.

    youdao

  • 域、构造器和方法都可以激活此行为。

    This behavior is enabled for fields, constructors, and methods.

    youdao

  • ProjectExplorer视图显示了OrderProcessor提供者各个部分的列表,以及每一个被提供的操作的方法(行为)。

    The Project Explorer view shows a list of the parts of the OrderProcessor provider and a method (behavior) for each provided operation.

    youdao

  • 如果可以重写类的话,则可以重写它的方法的行为,因此您最安全的选择就是不允许将类子类化。

    If the class can be overridden, its methods' behaviors can be overridden as well, so your safest bet is to disallow subclassing.

    youdao

  • 如果出现这种情形,通常这些方法的行为是未定义的,虽然这里的具体实现可能会尝试做某些合理的事情。

    If it does, the behavior of these methods is undefined in the general case, although this specific implementation attempts to do something reasonable.

    youdao

  • 这种行为说明了为什么len方法是如此重要。

    This behavior demonstrates why the len method is so important.

    youdao

  • 图7中的Project Explorer视图显示了OrderProcessor提供商部分的列表以及每一个提供的操作的方法(行为)。

    The Project Explorer view in Figure 7 shows a list of the parts of the OrderProcessor provider and a method (behavior) for each provided operation.

    youdao

  • 图7中的Project Explorer视图显示了OrderProcessor提供商部分的列表以及每一个提供的操作的方法(行为)。

    The Project Explorer view in Figure 7 shows a list of the parts of the OrderProcessor provider and a method (behavior) for each provided operation.

    youdao

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

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

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