Obviously, to fix this problem, you must avoid the cyclic class hierarchy.
显然,要修复这个问题,必须避免循环的类层次结构。
Figure 1 shows the GCF class hierarchy.
图1显示了GCF的类层次结构。
Moving member within the class hierarchy.
在类继承关系内移动成员。
See the class hierarchy shown in figure 11.
类层次结构如图11所示。
To begin, we define a Shape class hierarchy.
我们从定义一系列的Shape(形状)类开始。
Figure 30 shows the LzDataset class hierarchy.
图30显示lzdataset类的层次结构。
Using one data entity for an entire class hierarchy.
整个类层次结构使用一个数据实体。
Corrected class hierarchy of Liskov Substitution principle.
违反Liskov替换原则类结构图。
A simple example of a business domain-driven class hierarchy.
业务域驱动类的层次结构的一个简单例子。
The shape class hierarchy is defined in a shapes package.
类shape的继承结构在shapes包(package)中定义。
Consider the following class hierarchy for binary trees of ints.
考虑以下的int二元树的类层次结构。
I can also define a class hierarchy based upon their relationship.
我也能根据类的关系定义它们之间的层次。
Design fine-grained class hierarchy and coarse-grained database tables.
设计细粒度的类层次和粗粒度的数据表。
The first three classes constitute the base classes of the class hierarchy.
前三个类构成了类层次结构的基类。
Figure 24 shows the class hierarchy of some of the built-in components in OpenLaszlo.
图24显示OpenLaszlo中一些内置组件的类层次结构。
A class hierarchy always has a root class; this is a class with very general behavior.
类层次结构总会有一个根类(rootclass),这是一个具有普遍行为的类。
The sole exception is the root of the Scala class hierarchy, Any, which has no parent.
唯一的例外是scala类层级结构中的根,Any,没有父类。
This article gives you a simple example of a small class hierarchy to illustrate this concept.
本文将提供一个小型类层次结构的例子,举例说明这个层次结构的概念。
For our RIGHT hierarchy, we'll use a single table (TB_RIGHT) to store the entire class hierarchy.
对于我们的RIGHT层次结构,我们只使用一个表(tb_right)来保存整体类层次结构。
This is exactly the sort of if-then-else chain that a properly constructed class hierarchy prevents.
这正好是那种一个正确构建的类层次所要防止的if - then - else链。
To access the Domino database in an efficient way, you need to create a domain-driven class hierarchy.
要以有效的方式访问Domino数据库,则需要创建一个域驱动的类层次结构。
This represents the one XML element (from Listing 1) and is the basic structure for the class hierarchy.
它表示一个XML元素(来自清单1),是类层次的基本结构。
OOAD attempts to find the optimal set of objects and the most natural class hierarchy to implement them.
OOAD试图找到最优的对象和最自然的类继承来实现它们。
Figure 6 presents the updated persistence model for mapping the entire class hierarchy into one data entity.
图6显示了一个更新过的持久性模型,用于将整个类层次结构映射成一个数据实体。
Once again, this feature involves only Hibernate and the database, and thus doesn't alter the class hierarchy.
再次声明,这些特性只包含Hibernate和数据库,所以不会改变类的层次结构。
Even though the Estate class is nowhere to be found in our mapping file, it still exists in our class hierarchy.
即使在映射文件中找不到Estate类,它仍然存在于类层次结构之中。
In this model, any variable you create references an object that has been created from the overall class hierarchy.
在这一模型中,您创建的所有变量都将引用在总的类层次结构中创建的对象。
Spring's data access facilities automatically translate data-access exceptions into this exception class hierarchy.
Spring的数据访问功能自动将数据访问异常转换为此异常类层次结构。
Questions of design, such as how to design a class or a class hierarchy, are beyond the scope of this document.
设计方面的问题,例如如何设计类或组织类的层次,已经超出了本文档的范围。
For example, in Listing 10, I've defined an Ant task that builds a report for a class hierarchy, using the HierarchyBuilder.
例如,在清单10中,我使用HierarchyBuilder定义了一个为类层次构建报告的Ant任务。
应用推荐