subclassing

['sʌbklæsɪŋ]
  • subclassing
  • n.

    子类化;子类继承(计算机)

纠错 数据更新时间:2026-06-10 12:22:46
1、

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实例,将自身作为运行目标。

互联网摘选

2、

note that this button is provided primarily for demonstrating how to use subclassing and callbacks.

注意,提供此按钮主要是为了演示如何使用子类设置和回调。

互联网摘选

3、

However, modern languages on the JVM have other facilities, such as open classes, which allow you to reopen existing classes and add new methods to them without requiring subclassing.

但是,基于JVM的现代语言提供了一些额外的便利性,比如说开放类,它允许您重新打开已有类并向它们添加新的方法,而不需要子类化过程。

互联网摘选

4、

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

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

互联网摘选

5、

The Decorator Pattern provides an alternative to subclassing for extending behavior.

装饰者模式提供了一种继承子类来扩展行为的选择.

网络文摘精选

6、

the other problem with activerecord that transparent persistence solves is subclassing.

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

互联网摘选

7、

when subclassing servletexception, this method can be overridden to create an exception message designed for a specific locale.

当子类化ServletException时,可以重写该方法来创建专为本地化设计的异常信息。

互联网摘选

8、

intercepting and perhaps subclassing any of these actions may result in a sort of "limitation" of generally accepted internet practices.

截取以及细分这些操作可能会对普遍认可的Internet操作带来某种“局限性”。

互联网摘选

9、

you can base a new window class on an existing class, which is called subclassing .

基于一个已存在类上而建立的新的窗口类被称为子类。

互联网摘选

10、

with the advent of the microsoft win32 api, interprocess subclassing was discouraged and made a bit harder to code.

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

互联网摘选

11、

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

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

互联网摘选

12、

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

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

互联网摘选

13、

you might think, reasonably enough, that the same enhancement can be accomplished simply by subclassing the xo base class.

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

互联网摘选

14、

superclassing is better than subclassing if you want to create many controls with the same characteristics.

如果你想创建具有相同特征值的多个控件,超类化比子类化好得多。

互联网摘选

15、

you can use window subclassing to take control over other windows. it's one of the powerful techniques you should have in your arsenal.

你能用窗口子类化来控制其它的窗口。它是种有力的技术,你应该将它存入你的兵工厂。

互联网摘选

16、

sort any type of data in a listview cont - sort any type of data in a listview without subclassing or api calls. very low overhead.

在列表视图中不需使用子类化或者API调用就能排序任何类型的数据。具有非常低的开销。

互联网摘选

17、

actually, i modified the subclassing example to do superclassing.

实际上,我是修改了子类化的例子做到超类化的。

互联网摘选

18、

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

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

互联网摘选

19、

this is a good thing because without subclassing, the activerecord class doesn't do anything worthwhile.

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

互联网摘选

20、

either subclassing threadgroup or installing an implementation of this new interface allows you to change that default behavior.

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

互联网摘选

21、

extension is done by subclassing the aspect and defining a new advice binding in xml or via annotations.

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

互联网摘选

23、

actually, it's identical to the window proc in subclassing example.

实际上,它和在子类化例子中的窗口过程一致。

互联网摘选

24、

in gpars, actors can be created from a factory method that takes a closure or by subclassing groovyx. gpars. actor. abstractpooledactor.

在GPars中,可以利用接受闭包的factory方法或通过为groovyx.gpars.actor.AbstractPooledActor划分子类来创建actors。

互联网摘选

25、

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

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

互联网摘选

26、

as you can see, you don't have to do extra work of subclassing them.

如你所见,你不必要去做窗口子类化的那些额外的工作了。

互联网摘选

27、

historically speaking, the first way to customize the behavior of a program was through subclassing.

以前,定制一个软件的行为主要是通过子类化方法实现的。

互联网摘选

28、

scala implementing java interfaces and subclassing java classes is 100% seamless.

Scala可以100%无缝的实现Java接口,继承Java类。

互联网摘选

29、

creating icon menu by subclassing

用子类处理实现图标菜单

互联网摘选

30、

this program is primarily meant to demonstrate subclassing.

此程序主要演示如何设置子类。

互联网摘选

  • 今日热词
  • 热门搜索

英语网英语词典(dict.25820.com)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈