Create an abstract parent class called DataSetBuilder.
创建一个称为DataSetBuilder的抽象父类。
Make an inner class in the parent class, which is a test case.
在父类中建立一个内部类,这个内部类是个测试用例。
If __call fails, the parent class method is invoked, and so on.
如果__ call失败,就调用父类方法,依此类推。
Mixins are classes that are parameterized by their parent class.
mixin是那些由它们的父类参数化的类。
Can I pull more methods from the child into the generic parent class?
是否还能把更多的方法从子类提升到通用的父类中?
For example, we can refer to the parent class of Scrollable as type t.
例如,我们可以将Scrollable的父类引用为类型T。
Overriding methods in a parent class is not limited to the constructor.
父类中的重写方法不仅局限于构造函数。
Each application of this generic class would extend a distinct parent class.
这个泛型类的每个应用都会继承一个不同的父类。
When no implementation is present, the call falls through to the parent class.
当没有任何实现存在时,调用失败返回给父类。
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.
所有通用的连接代码都已经转移到父类中了。
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.
方法现在在试图自己找到类之前,先委托给自己的双亲类装入器。
Indexing for space querying is controlled from the parent class using a new set of annotations.
空间查询的索引利用一组新的注解通过父类控制。
This destructor would have to be called specifically before unsetting the parent class reference.
这种解构器必须在解除父类引用之前进行调用。
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).
用于扩展函数的父类(以及模拟多个继承的“混合”类)。
Optimistic concurrency is implemented by assigning a datetime field to each parent class being CRUDed.
开放式并发通过给每个被“凝结”的父类分配一个datetime字段来实现。
A UML operation representing a constructor is given the same name as its parent class or structure name.
表示构造方法的UML操作有和其母体类或结构名相同的名字。
Although a RuntimeException, this is a parent class which can be caught by clients of the library calls.
虽然CalendricalExcpetion是一个RuntimeException,但客户端的库调用都可以捕获这个父类。
By default, when you create a subclass, its constructor merely calls the constructor of its parent class.
默认情况下,当您创建一个子类时,它的构造函数只调用其父类的构造函数。
This parent address corresponds to the native data structure of the parent class loader (called the shadow).
这个父类地址对应于父类类装入器的原始数据结构(叫作 shadow)。
In the code above, the constructor of the parent class takes one argument, an integer representing the layout.
在上述代码中,父类的构造函数接受一个参数,一个表示布局的整型参数。
This parent interface is extended by the mixin interface (but not by the instantiations of the parent class).
这个父类接口是由mixin接口继承而来的(而不是由父类的实例化继承而来的)。
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.
虽然在父类中提供默认行为是完全合法的,但这可能不是最巧妙的方法。
Once I've pulled all those methods up to the parent class, the PartDb class has been greatly simplified, as shown in Listing 5.
把这些方法提升到父类中之后,PartD b类已经大大简化了,见清单5。
The StringHelper Category is a normal class - it doesn't need to extend a special parent class or implement a special interface.
StringHelper Category是一个普通类—它不需要扩展特定的父类或实现特殊的接口。
应用推荐