superclass

superclass

 英

  • n.【生】总纲
  • 网络超类;父类;父类别

词形变化

复数:superclasses  

英汉解释

n.
1.
【生】总纲

英英解释

n.

例句

Since an instance of a subclass is an instance of your superclass, you could find multiple instances of the singleton.

由于实例也是实例所以可能出现多个实例并存情况

An attempt was made to reuse an existing method name from a superclass, and the signatures did not match.

试图重用现有方法名称签名匹配

Two other refactorings, Push Down and Pull Up, move class methods or fields from a class to its subclass or superclass, respectively.

两个重构工具PushDownPullUp分别实现方法或者属性一个移动

Because a superclass is not referenced as frequently as a sublcass the names do not have to be as concise.

由于不会那样频繁引用对子命名不必考虑简洁因素

However, the subclass leaves the concrete class as is and does not attempt to instantiate the superclass.

没有具体方法改变没有试图实例化

Similarly, a subclass destructor must call its superclass destructor after it has completed its own resource reclamation.

类似构函数完成资源释放之后调用函数

According to this principle, the ability to substitute a subclass object for a superclass object is characteristic of good design.

原则表明对象对象替代能力优秀设计重要标志

So before an object is created, another object of the same class or of its superclass must be constructed.

所以创建对象之前必须构造相同另一个对象

Likewise, you almost always call a superclass method at either the start or end of a descendent method body.

同样几乎总是子代方法主体开始结束部分调用方法

Eclipse writes the superclass automagically with its new methods and alters the sibling classes to use the new superclass.

Eclipse使用方法自动编写然后更改兄弟使使用

In the object-oriented version, I extracted duplicated methods, moving them to a superclass along with a protected field.

面向对象版本提取复制方法连同protected字段一个

After the @implementation keyword, we see the name of the class (Employee) and its superclass.

@implementation关键字后面我们看到Employee及其

Qualified subclass name: Name subclasses to communicate the similarities and differences with a superclass.

名称合格对子命名表述之间相似差异

an additional first parameter must be specified as the class for which the method calling the superclass selector is defined.

当然第一参数额外我们必须指定调用方法所属

Superclass and humanization are two outstanding characters of the state theory of democratic socialism.

超阶级人性化民主社会主义国家两个显著特征

Another difference you'll notice are several radio buttons and a checkbox for selecting the superclass.

注意另一个差别多个单选按钮一个用于选择复选框

That article is the single best resource that I've seen for understanding how the superclass works.

篇文章见过关于理解如何运行最好资源

A method of a superclass can be extended by declaring an attribute with the same name.

方法可以通过使用相同名称声明属性扩展

Fields are protected fields that the detector inherits from its superclass.

字段检测器继承protected字段

Subclasses provide specialized behaviors from the basis of common elements provided by the superclass .

提供来自总纲提供通常元件专门行为

The best remedy in this case is to move those referenced fields to the superclass, too.

这种情况最好补救办法就是这些引用字段这个

Gets or sets a value indicating whether recursive enumeration is requested into all classes derived from the specified superclass.

获取设置一个指示是否递归枚举请求指定派生所有

Make sure that Constructors from superclass is checked and that the superclass is java. lang. Exception (Figure 46).

确保选中Constructorsfromsuperclass并且java.lang.Exception(46)。

Classes usually constitute a taxonomic hierarchy (a subclass-superclass hierarchy).

通常包括分类层次-层次)。

Notice that because both of the extracted methods use the number member variable, it is dragged into the superclass.

注意因为提取方法使用number成员变量所以涉及到

Notice that we use the method findViewById (defined in the superclass Activity) to get a handle on various UI elements.

注意我们使用findViewById方法Activity定义获得不同UI元素句柄

After a script has been created, it retains the reference to the default superclass as its own helper superclass.

创建一个脚本以后保留默认参考自己助手参考一样

The requirement for this common superclass is driven by the need for interception.

公用要求源自截获需要

Subclasses inherit the public behavior of their superclass.

继承所有公共行为

We cannot resort to macros because the internal representation of the superclass is not available for the macros to reference.

我们无法实现因为内部具体实现对于我们引用不可

Kent discusses how to come up with a good name for a superclass.

Kent讨论如何一个名字

If you want to use the custom component in a JSF 1. 1-based application, the superclass of the tag handler must be UIComponentTag.

如果希望基于JSF1.1应用程序使用定义组件标记处理程序必须UIComponentTag

Type the first character of user helper superclass name in Select default helper superclass for the script.

脚本选择默认helpersuperclass之中输入用户helper字符

Recall that every Java class constructor must call a constructor of the superclass.

每个Java构造函数必须调用构造函数

A class or interface could not be loaded because it would be its own superclass or superinterface.

接口由于自己接口不能装入

Similarly, the bicycle class is the superclass of mountain bikes, racing bikes, and tandems .

同样脚踏车类别脚踏车总纲空转脚踏车

From there, you can add the name and superclass.

可以这里添加名称

You can alleviate this somewhat by having an abstract superclass that contains empty implementations of all methods for all visitors.

可以使用一个抽象其中包含所有访问者所有实现从而略微缓解难度

Method, I also override this method to store the value, calling the superclass to complete default behavior.

方法设置所以覆盖这个方法存储这个调用完成默认行为

Manual propagation to less specific multimethods can get tricky in many of the same ways that calls to superclass methods can get tricky.

调用方法许多方式棘手同样方式较为特定多元进行手工传播棘手