• These classes delegate responsibility for base class behavior to an instance of the base class.

    这些类将基础类行为的责任委托给基础类的一个实例。

    youdao

  • "I had to learn how to manage class behavior," she said. "it is totally different to China and I couldn't get used to it at first."

    她说道:“我必须学习如何管理课堂行为,这和中国完全不同,我一开始不能适应这种情况。”

    youdao

  • The easiest way to dynamically customize class behavior USES an imperative style: first create the class, then add methods and attributes.

    利用强制方式动态自定义类行为最简单的方法是:首先创建类,然后添加方法和属性。

    youdao

  • The rules for type parameters and constraints have several implications for generic class behavior, especially regarding inheritance and member accessibility.

    型别参数和条件约束的规则有几个泛型类别行为含意,尤其与继承和成员存取范围有关。

    youdao

  • Listen to part of a lecture in an animal behavior class.

    请听动物行为课上的部分内容。

    youdao

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

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

    youdao

  • These patterns both extract behavior out of the view and into a presentation class coupled with the view.

    两种模式都把行为从视图中抽出来,将之放入与视图耦合的一个表现类。

    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

  • I prefer specification of the runtime behavior of a class within the class itself, keeping all the information about a class in one place.

    我更喜欢在类的内部说明类的运行时行为,将有关类的所有信息集中保存在一个地方。

    youdao

  • Sometimes, it's easier to copy and paste some code than to generalize the behavior into another class.

    有时,复制粘贴某些代码要比将该行为泛化到另一个类更简单。

    youdao

  • Form action class contains behavior for form actions.

    表单操作类包含表单操作的行为。

    youdao

  • I decided to create a class method that would encapsulate the above behavior.

    因此我决定创建一个类方法来封装上面的行为。

    youdao

  • In the worst case, if the imports are concrete classes and their behavior changes, then the class doing the importing could break!

    在最糟糕的情况下,如果导入的是具体的类,并且它们的行为发生更改,那么执行导入的类可能会中断!

    youdao

  • The goal now is that you just annotate your class that implements the runtime behavior with the names of the labels and some other information.

    现在的目标是你只需使用标签名和其他信息将实现了运行期行为的类注解起来就行了。

    youdao

  • Groups of methods implementing a particular aspect of behavior can be gathered together in a mix-in that is added to any class that needs that behavior.

    实现某一方面行为的方法组可以在混合式中聚集在一起,该混合式被添加到任何需要此行为的类中。

    youdao

  • In fact, all behavior must be defined within the context of a class.

    事实上,所有行为都必须在类的上下文中定义。

    youdao

  • A well-implemented DAO class will use logging to capture details about its run-time behavior.

    一个良好实现的dao类将使用日志记录来捕捉有关其运行时行为的细节。

    youdao

  • The behavior of the class is described using an activity graph.

    通过活动图可以清楚的描述类的行为。

    youdao

  • Class diagrams capture must behavior; instance diagrams capture may behavior.

    类图捕捉必须行为;实例图捕捉可能行为。

    youdao

  • You wouldn't want to test every class for this new behavior.

    我们不想对每一个类测试这个新行为。

    youdao

  • Although providing a default behavior in a parent class is perfectly legal, it is probably not the neatest way of doing things.

    虽然在父类中提供默认行为是完全合法的,但这可能不是最巧妙的方法。

    youdao

  • When you want to add arbitrary behavior to a class, based on unknown criteria, you need to use a different technique.

    当想要基于未知规则给一个类添加任意行为时,则需要使用一项不同的技术。

    youdao

  • Everything else in the class is the same, including the behavior that models the service protocol.

    类中的其它所有事情都是一样的,包括对服务协议进行建模的行为。

    youdao

  • The idea behind class wrapping is that a target class can be wrapped in a layer of instrumenting code that retains the same external behavior as the class that's wrapped.

    类包装背后的理念是:目标类可以包装在一层插装代码中,后者具有与被包装的类相同的外部行为。

    youdao

  • Just as an MC is a special-purpose object, its definition is a special-purpose class which defines the structure and behavior of its instances.

    正如MC是专用对象一样,其定义也是专用类,用于定义其实例的结构和行为。

    youdao

  • It also demonstrates how the trait's behavior is "deferred" down into the implementing class.

    它还表明特征的行为如何“下放到”实现类。

    youdao

  • The CSS class links to a behavior in an HTC file.

    CSS类链接到HTC文件内的一个行为。

    youdao

  • Primitive float type and wrapper class float have different comparison behavior.

    基本浮点类型和包装类浮点有不同的比较行为。

    youdao

  • Many users have probably never needed (or even noticed) class magic behavior.

    许多用户可能从来也不需要(甚至从没注意到)类的神奇行为。

    youdao

  • Given that I'm probably going to be using a Stack instance throughout my behavior class, I might as well push (no pun intended) that logic into a fixture, as I've done in Listing 7.

    由于我可能在整个行为类中使用一个Stack实例,我可能也会将那种逻辑推入(这里并非有意使用双关语)到一个fixture中,正如清单7中那样。

    youdao

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

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

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