• There are three base implementations provided for subclassing.

    所提供的用于生成子类的基本实现有三种。

    youdao

  • Decorators provide a flexible alternative to subclassing for extending functionality.

    为了扩展功能,装饰者提供了比继承更灵活的替代方案。

    youdao

  • Decorators provide a flexible alternative to subclassing for extending functionality.

    就扩展对象功能来说,装饰者模式比生成子类更为灵活。

    youdao

  • The other problem with ActiveRecord that transparent persistence solves is subclassing.

    透明持久化解决了的ActiveRecord的另外一个问题就是子类化。

    youdao

  • And subclassing allows you to tweak the behavior of the flow layout class even further.

    通过子类化你可以把流动布局类调整的更加强大。

    youdao

  • Cleaner Web filter mechanism that allows more pluggable filtering support without subclassing.

    更干净的Web过滤机制,无需子类化就可支持更多的插件式过滤器。

    youdao

  • Continue defining the other EClasses in the EcoreX model by subclassing Ecore objects when necessary.

    根据需要对Ecore对象划分子类,在EcoreX模型中继续定义其他EClass。

    youdao

  • This is a good thing because without subclassing, the ActiveRecord class doesn't do anything worthwhile.

    这是一件好事,因为在没有子类时,activerecord类不会做任何有价值的事情。

    youdao

  • In this tutorial, we will learn about window subclassing, what it is and how to use it to your advantage.

    在这一课中,我们将学习什么是窗口子类化,以及如何使用它才能对你有利。

    youdao

  • Extension is done by subclassing the aspect and defining a new advice binding in XML or via annotations.

    扩展是通过生成方面的子类、并在XML中或通过注释定义新的通知绑定而实现的。

    youdao

  • With the advent of the Microsoft Win32 API, interprocess subclassing was discouraged and made a bit harder to code.

    随着微软Win32API的到来,进程间子类化不再被鼓励使用并愈发变得困难起来。

    youdao

  • The idea is to use a single class which can be parameterized to perform different logic without requiring subclassing [...

    想法是使用一个可参数化的类执行不同的逻辑,不需要子类化……

    youdao

  • You might think, reasonably enough, that the same enhancement can be accomplished simply by subclassing the XO base class.

    您可能会非常合理地想到,也可以定义xo基类的子类来实现同样的增强。

    youdao

  • This kind of coding is tiresome to write, is easy to omit by accident, and does not stop an attacker from subclassing the method.

    这样的代码编写起来很无趣,很容易被意外省略,也无法阻止攻击者子类化该方法。

    youdao

  • As mentioned above, the nested syntax is often mistaken for subclassing by users who are not already familiar with extensions.

    正如上面所提到的,嵌套的语法通常被错误地认为有子类化的关系——尤其是对那些还不熟悉扩展的用户来说。

    youdao

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

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

    youdao

  • Either subclassing ThreadGroup or installing an implementation of this new interface allows you to change that default behavior.

    细分ThreadGroup或安装该新接口的实现都允许您更改默认行为。

    youdao

  • Subclassing potential. The longer a method is, the more difficult it will be to create effective subclasses that use the method.

    拥有子类化潜力。函数越长,你就越难以创建一个子类使用这个函数。

    youdao

  • Subclassing the class is typically not an option here, since the method needs to be available to instances of the base class itself.

    在这种情况下,继承这个类通常是行不通的,因为所添加的方法需要在基类的实例中可用。

    youdao

  • It turns out that subclassing is not only familiar but is probably the most flexible and straightforward way to map from model to view.

    结果证明,子分类方法不但十分常用,而且还可能是从模型映射到视图最灵活也是最直接的方法。

    youdao

  • Now we put our attention on how to subclass a window. Note that subclassing is not limited to controls, it can be used with any window.

    现在我们把注意力放在如何子类化一个窗口上。注意,子类化并不是仅限制于控件,它能被用于任何窗口。

    youdao

  • A class that implements Runnable can run without subclassing Thread by instantiating a Thread instance and passing itself in as the target.

    实现Runnable的类可以不继承Thread而实例化为Thread实例,将自身作为运行目标。

    youdao

  • You've actually seen one instance of another class hierarchy that also serves as a good illustration of the idea of extension by subclassing.

    你已经看到了另一个类层次的实例,它很好的阐明了子类化的概念。

    youdao

  • Class abstractions are extended by subclassing and a flexible mixin-based composition mechanism as a clean replacement for multiple inheritance.

    Class的抽象可由子类化和一种灵活的基于mixin的组合机制(它可作为多重继承的简单替代方案)来扩展。

    youdao

  • I'll handle these differing requirements by using a base class for all parameter definitions, subclassing it for each specific type of parameter.

    我处理这些不同需求的方法是,首先为所有形参定义使用一个基类,然后为每一种特定类型的形参细分类这个基类。

    youdao

  • By its subclassing from this restriction, the RelevantResource class is a sort of virtual class that includes a set of all resources that meet the restriction.

    通过从这一约束条件划分子类,RelevantResource类成为一种包含一个所有满足该约束条件资源集合的虚拟类。

    youdao

  • Because it is not just for grids, you can use the flow layout to create interesting and flexible arrangements of your content both with and without subclassing.

    因为流动布局不仅仅支持网络布局,不管你使用不使用子类化,你都可以使用流动布局创建流畅有趣的内容排布。

    youdao

  • The only exception to this is when variables of the nested type need to be declared in rare scenarios such as subclassing or other advanced customization scenarios.

    唯一的特例是需要声明嵌套类型的变量的情况,在生成子类或其他高级自定义等极少数情况下需要声明嵌套类型的变量。

    youdao

  • Note that this is a working example of how to extend the functionality by aggregating objects — adding a BrowserExtension to a ReadOnlyPart — as opposed to subclassing.

    注意,这是一个正在运行的示例,与子类化相对,它涉及如何通过聚合对象—将BrowserExtension添加到ReadOnlyPart—来扩展功能。

    youdao

  • Note that this is a working example of how to extend the functionality by aggregating objects — adding a BrowserExtension to a ReadOnlyPart — as opposed to subclassing.

    注意,这是一个正在运行的示例,与子类化相对,它涉及如何通过聚合对象—将BrowserExtension添加到ReadOnlyPart—来扩展功能。

    youdao

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

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

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