父类中的重写方法不仅局限于构造函数。
Overriding methods in a parent class is not limited to the constructor.
然而,超类(父类)不一定要是抽象类。
However, super classes (parent classes) do not have to be abstract classes.
通过调用父类的方法来访问参数值。
Parameter values are accessed by calling a super class method.
所有通用的连接代码都已经转移到父类中了。
All the generic, boilerplate connectivity code has moved into the parent class.
封闭的箭头表示继承,从子类指向父类。
The closed arrow denotes inheritance and points from child to parent.
还为mixin的父类构造了一个接口。
An interface is also constructed for the parent of the mixin.
类是有层次性的,所以子类可以继承父类的行为。
Classes are arranged in a hierarchy, so that a subclass can inherit behavior from its superclass.
空间查询的索引利用一组新的注解通过父类控制。
Indexing for space querying is controlled from the parent class using a new set of annotations.
结果还是AST,但父类会为您执行大部分工作。
The result is still an AST, but the parent class does most of the work for you. My grammar class looks like this
该类是封装Notes文档的所有业务对象类的父类。
This class is the parent class for all business object classes which encapsulate a Notes document.
注意,Trip并没有扩展某个父类或者实现某个接口。
Notice that Trip doesn't extend a parent class or implement a magic interface.
创建一个称为DataSetBuilder的抽象父类。
用于扩展函数的父类(以及模拟多个继承的“混合”类)。
A parent class to extend function from (plus any "mix-in" classes to simulate multiple inheritance).
如果我们没有调用父类的实现,那么就不会检查所分析的方法。
If we didn't call the superclass 'implementation, then the analyzed method would never be examined.
根据特定上下文的要求,可以用不同的父类实例化mixin。
Mixins can be instantiated with different parent classes depending on the requirements of a particular context.
类加载器的父类加载器将是当前线程上下文的类加载器。
The parent of this class loader will be the class loader of the current thread context.
这个例子向您展示了,属性值是如何继承自父类转换配置的。
This example shows how property values are inherited from parent transformation configurations.
虽然在父类中提供默认行为是完全合法的,但这可能不是最巧妙的方法。
Although providing a default behavior in a parent class is perfectly legal, it is probably not the neatest way of doing things.
默认情况下,这个类装入器是用户创建的任何类装入器的父类。
By default, this class loader is the parent of any class loader created by the user.
在上述代码中,父类的构造函数接受一个参数,一个表示布局的整型参数。
In the code above, the constructor of the parent class takes one argument, an integer representing the layout.
唯一的例外是scala类层级结构中的根,Any,没有父类。
The sole exception is the root of the Scala class hierarchy, Any, which has no parent.
例如,如果想让所有控制器都扩展一个抽象父类,那么可以在这里进行修改。
If, for example, you'd like all of your controllers to extend an abstract parent class, you can make the change here. All new controllers will be based on your modified template code.
联合表:(可选)将子类映射到与父类映射到的表具有外键关系的表。
Joined table: (Optional) the child class is mapped to a table that has a foreign key relationship to the table to which the parent is mapped.
这意味着,类只可以继承一个父类(虽然它可能间接地继承许多祖先)。
This means that a class can directly extend only one parent (though, of course, it may indirectly extend many ancestors).
如果你不继承任何父类,默认的父亲是AnyRef,Any的一个直接子类。
If you don't extend a parent class, the default parent is AnyRef, a direct child class of Any.
元素将告诉服务器先装入父类(在本例中,为Pluto门户驱动程序及其依赖性)。
The element tells the server to load the parent classes (in this case, the Pluto portal driver and its dependencies) first.
连接这个类:单击调色板上的Generalization,然后从子类拖到父类。
Connect the classes: Click on Generalization on the palette, and then drag from the child class to the parent class.
我们将此编辑器的选项设为当前行的选项,并让父类来实际进行此信息的格式化。
We set the options of the editor to be that of the current row, and let the parent do the actual formatting of this information.
我们将此编辑器的选项设为当前行的选项,并让父类来实际进行此信息的格式化。
We set the options of the editor to be that of the current row, and let the parent do the actual formatting of this information.
应用推荐