Keep your inheritance hierarchy simple.
保持简单的继承层次结构。
Figure 1 shows their inheritance hierarchy.
图1显示了它们的继承层次结构。
Changing the interface inheritance hierarchy.
变更介面继承阶层。
Figure 1 illustrates the inheritance hierarchy.
图1显示了继承层次。
These widgets are arranged in an inheritance hierarchy.
这些窗口小部件被安排在继承层次结构中。
Finalization must be propagated through the inheritance hierarchy.
终止必须通过继承层次结构传播。
The reason is simple: The module has an inheritance hierarchy of its own.
原因很简单:模型具有自己的继承层次结构。
We need two new Classes at either end of the inheritance hierarchy to do this.
在继承层次的每个端点,我们需要两个新类来完成这个。
Changing the inheritance hierarchy of an object requires a declare parents tag.
改变对象的继承层次需要一个declareparents标签。
How to perform flexible serialization of a polymorphic inheritance hierarchy?
如何执行灵活的多态继承层次结构的序列化?。
If you have an inheritance hierarchy that is too broad, inheritance will break down.
如果已有的继承等级非常宽,继承就会失效。
Classes in the same inheritance hierarchy typically belong in the same package.
一般位于同一继承层次上的类也属于同一个包。
When the class that implements the steps needs an independent inheritance hierarchy.
当类的实现步骤需要一个依赖继承层次。
In other words, a complete inheritance hierarchy is stored in a single database table.
换言之,整个继承层次结构存储在单个数据库表中。
A dynamically bound method call, however, reaches "outward" into the inheritance hierarchy.
动态绑定方法的调用,然而,这将涉及到继承类图。
Listing 4 shows how you might use the declare parents tag to change Foo's inheritance hierarchy.
清单4显示了用declareparents标签来改变Foo的继承层次。
That's because objects in the real world just don't fit into a simple single inheritance hierarchy.
那是因为实际世界中的对象不会刚好适合一个简单的单继承层次结构。
Multiple inheritance supports a much richer inheritance hierarchy for the problems that require it.
如果需要,多重继承支持更丰富的继承层次结构。
Gets the name of the management class in which the method was first introduced in the class inheritance hierarchy.
获取管理类的名称,在该类中第一次将该方法引入到类的继承层次结构。
The root class of an inheritance hierarchy should define a virtual destructor even if the destructor has no work to do.
继承层次关系的根类应该定义虚函数性质的析构函数,即使这个析构函数不做任何的事情。
At the top of Listing 4, you see a nested module definition. A module has method definitions, but no base inheritance hierarchy.
在清单4的顶部,可以看到一个嵌套的模块定义,但是没有基继承层次结构。
A global aspect utilizing a signature pattern based on packages and the inheritance hierarchy would serve you better in this situation.
在这种情况下,利用基于包和继承层次结构的签名模式的全局方面可以做得更好。
The functionality that is described by the interface can be adopted by any type, regardless of where the type appears in the inheritance hierarchy.
接口所描述的功能可以被任何类型采用,无论该类型显示于继承层次结构中的哪一位置。
If this event is subscribed to and used, all derived types that follow in the inheritance hierarchy must implement the same serialization mechanism.
如果订阅并使用此事件,则继承层次结构中所有跟着的派生类型都必须实现相同序列化机制。
There is inheritance, though: SDO understands an inheritance hierarchy among types, and given a property expecting a given type, you can assign a subtype.
但存在继承性:sdo理解类型间的继承层次结构,给定属性要求给定类型,可指派子类型。
The Template Method pattern suggests that I should move common boilerplate code up the inheritance hierarchy, deferring algorithmic details to child classes.
TemplateMethod模式建议,应当将公共模板代码移到继承层次结构之上,将算法细节推迟到子类。
If you would like to rename this method, a check of all classes in the inheritance hierarchy is needed to find all positions in the code which should be changed.
如果你要重命名这个方法,必须检查继承层次中的所有类,以找到应该做出改变的所有位置。
The standard MBeans convention would make the interfaces depend on the implementations and represents a needless duplication of the inheritance hierarchy for this system.
标准MBean的约定使得接口依赖于实现,而且代表这个系统的继承层次出现不必要的重复。
Traditional object-oriented programming, especially in languages like Python that allow multiple inheritance, attempt to modularize concerns with an inheritance hierarchy.
传统的面向对象编程,尤其是在诸如python之类允许多重继承的语言中,都会试图使用一个继承层次结构来模块化关注事项。
Traditional object-oriented programming, especially in languages like Python that allow multiple inheritance, attempt to modularize concerns with an inheritance hierarchy.
传统的面向对象编程,尤其是在诸如python之类允许多重继承的语言中,都会试图使用一个继承层次结构来模块化关注事项。
应用推荐