Create an abstract parent class called DataSetBuilder.
创建一个称为DataSetBuilder的抽象父类。
Overriding methods in a parent class is not limited to the constructor.
父类中的重写方法不仅局限于构造函数。
Notice that Trip doesn't extend a parent class or implement a magic interface.
注意,Trip并没有扩展某个父类或者实现某个接口。
All the generic, boilerplate connectivity code has moved into the parent class.
所有通用的连接代码都已经转移到父类中了。
How to affect descendants of a modified parent class in Delphi?
如何影响Delphi中改进的父类的后代?
The second parameter passes any parameters to the RecursiveDirectoryIterator parent class.
第二个参数将所有参数都传递给 RecursiveDirectoryIterator父类。
If you don't extend a parent class, the default parent is AnyRef, a direct child class of Any.
如果你不继承任何父类,默认的父亲是AnyRef, Any的一个直接子类。
The method now delegates to its parent class loader before attempting to find the class itself.
方法现在在试图自己找到类之前,先委托给自己的双亲类装入器。
It is used as a common parent class so that all its child classes have the same interface.
它是用来作为一个共同的父类,其所有子类具有相同的接口。
Indexing for space querying is controlled from the parent class using a new set of annotations.
空间查询的索引利用一组新的注解通过父类控制。
This class is the parent class for all business object classes which encapsulate a Notes document.
该类是封装Notes文档的所有业务对象类的父类。
A parent class to extend function from (plus any "mix-in" classes to simulate multiple inheritance).
用于扩展函数的父类(以及模拟多个继承的“混合”类)。
It may not always be possible to use the specialization anywhere the parent class could be used.
换句话说,不可能在任何能使用父类的地方用特化。
You can access parent entity's attributes the same as you would the properties of a parent class.
您可以像父类的属性一样访问父实体的属性。
A UML operation representing a constructor is given the same name as its parent class or structure name.
表示构造方法的UML操作有和其母体类或结构名相同的名字。
By default, when you create a subclass, its constructor merely calls the constructor of its parent class.
默认情况下,当您创建一个子类时,它的构造函数只调用其父类的构造函数。
In the code above, the constructor of the parent class takes one argument, an integer representing the layout.
在上述代码中,父类的构造函数接受一个参数,一个表示布局的整型参数。
The result is still an AST, but the parent class does most of the work for you. My grammar class looks like this
结果还是AST,但父类会为您执行大部分工作。
Connect the classes: Click on Generalization on the palette, and then drag from the child class to the parent class.
连接这个类:单击调色板上的Generalization,然后从子类拖到父类。
Although providing a default behavior in a parent class is perfectly legal, it is probably not the neatest way of doing things.
虽然在父类中提供默认行为是完全合法的,但这可能不是最巧妙的方法。
The StringHelper Category is a normal class - it doesn't need to extend a special parent class or implement a special interface.
StringHelper Category是一个普通类—它不需要扩展特定的父类或实现特殊的接口。
The name of the convenience class is similar to the parent class, but with the new prefix “Odf” and the suffix “Element” omitted.
便利类的名称与其父类相似,但是加上前缀 "Odf"并去掉后缀 "Element"。
Each class loader also keeps a reference to a parent class loader, defining a tree of class loaders with the bootstrap loader at the root.
每个类装入器还保留对父类装入器的引用,这样就定义了类装入器树,树根为引导程序装入器。
In the general hierarchical structure, confusion relationship among brother classes that have the same parent class is symmetrical. But in fact that's not the case.
在普通的类别层次结构中,同一父类的兄弟类别之间的混淆关系是对称的,但事实上类别之间的混淆关系不是对称的。
Another important feature of composition aggregation is that the part class can only be related to one instance of the parent class (e.g. the Company class in our example).
组合聚合的另一个重要功能是部分类只能与父类的实例相关(举例来说,我们例子中的Company类)。
This tells the class loader that will load our Grails app, to ignore any classes from these packages available to the parent class loader (i.e., the container's class loader).
这将告诉装载Grails应用程序的类装载程序忽略这些包中可用于父类装载程序(即,容器的类装载程序)的所有类。
If a component does not have a template, but extends from a component class that does have a template, then the parent class 'template will be used by the child component.
如果一个组件没有模板,但是他继承于一个有模板的组件类,那么父类的模板将被应用于子组件上。
In the constructor (see Listing 5), initialize the parent class using the $orientation (page orientation), $unit (measurement unit), and $format (page size) that were passed in.
在构造函数(请参考 清单5)中,使用传入的 $orientation(页面方向)、$unit(计量单位)和 $format(页面大小)初始化父类。
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.
例如,如果想让所有控制器都扩展一个抽象父类,那么可以在这里进行修改。
应用推荐