图1显示了它们的继承层次结构。
终止必须通过继承层次结构传播。
Finalization must be propagated through the inheritance hierarchy.
在面对继承层次时,它也变得不可预测。
It also becomes unpredictable in the face of inheritance hierarchies.
保持简单的继承层次结构。
如果需要,多重继承支持更丰富的继承层次结构。
Multiple inheritance supports a much richer inheritance hierarchy for the problems that require it.
当类的实现步骤需要一个依赖继承层次。
When the class that implements the steps needs an independent 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.
图1显示了继承层次。
避免深度继承层次。
如何执行灵活的多态继承层次结构的序列化?。
How to perform flexible serialization of a polymorphic inheritance hierarchy?
一般位于同一继承层次上的类也属于同一个包。
Classes in the same inheritance hierarchy typically belong in the same package.
我们可以看到对象继承层次结构和对象组合层次结构。
We find object inheritance hierarchies and object composition hierarchies.
换言之,整个继承层次结构存储在单个数据库表中。
In other words, a complete inheritance hierarchy is stored in a single database table.
NET实体框架可以定义包含继承层次结构的概念模型。
NET Entity Framework enables you to define a conceptual model that includes inheritance hierarchies.
改变对象的继承层次需要一个declareparents标签。
Changing the inheritance hierarchy of an object requires a declare parents tag.
那是因为实际世界中的对象不会刚好适合一个简单的单继承层次结构。
That's because objects in the real world just don't fit into a simple single inheritance hierarchy.
清单4显示了用declareparents标签来改变Foo的继承层次。
Listing 4 shows how you might use the declare parents tag to change Foo's inheritance hierarchy.
获取管理类的名称,在该类中第一次将该方法引入到类的继承层次结构。
Gets the name of the management class in which the method was first introduced in the class inheritance hierarchy.
在清单4的顶部,可以看到一个嵌套的模块定义,但是没有基继承层次结构。
At the top of Listing 4, you see a nested module definition. A module has method definitions, but no base inheritance hierarchy.
通过分解聚集和继承层次结构,您简化了模型,在定义子系统时使其更易分析。
By collapsing aggregation and inheritance hierarchies, you simplify your model, making it easier to analyze when you define subsystems.
在这种情况下,利用基于包和继承层次结构的签名模式的全局方面可以做得更好。
A global aspect utilizing a signature pattern based on packages and the inheritance hierarchy would serve you better in this situation.
标准MBean的约定使得接口依赖于实现,而且代表这个系统的继承层次出现不必要的重复。
The standard MBeans convention would make the interfaces depend on the implementations and represents a needless duplication of the inheritance hierarchy for this system.
如果指针指向继承层次中的一种类型,指针所指对象的类型就有可能与指针的类型不同。
If the pointer points to a type from an inheritance hierarchy, it is possible that the type of the object to which the pointer points is different from the type of the pointer.
接口所描述的功能可以被任何类型采用,无论该类型显示于继承层次结构中的哪一位置。
The functionality that is described by the interface can be adopted by any type, regardless of where the type appears in the inheritance hierarchy.
继承层次关系的根类应该定义虚函数性质的析构函数,即使这个析构函数不做任何的事情。
The root class of an inheritance hierarchy should define a virtual destructor even if the destructor has no work to do.
但存在继承性:sdo理解类型间的继承层次结构,给定属性要求给定类型,可指派子类型。
There is inheritance, though: SDO understands an inheritance hierarchy among types, and given a property expecting a given type, you can assign a subtype.
如果你要重命名这个方法,必须检查继承层次中的所有类,以找到应该做出改变的所有位置。
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.
如果订阅并使用此事件,则继承层次结构中所有跟着的派生类型都必须实现相同序列化机制。
If this event is subscribed to and used, all derived types that follow in the inheritance hierarchy must implement the same serialization mechanism.
应用推荐