superclass
美
英 
词形变化
复数:superclasses
英汉解释
英英解释
例句
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.
还有两个重构工具,PushDown和PullUp,分别实现将类方法或者属性从一个类移动到其子类或父类中。
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.
调用超类方法的许多方式很棘手,而以同样方式对较为不特定的多元法所进行的手工传播也会很棘手。