Mixing strategies such as "Table per Subclass" embedded in "Table per class Hierarchy" so that you can take advantages of different strategies.
采用混合策略,例如“每个类层次一张表”中嵌入“每个子类一张表”,这样可以利用不同策略的优势。
The tree class represents a tree and is a subclass of Basetree.
树以tree类表示,这个类是Basetree的子类。
The sample watchdog code (see Download) defines WatchedPeriodicThread as a subclass of PeriodicThread.
示例 watchdog代码(参见下载)定义WatchedPeriodicThread作为 PeriodicThread的子类。
The root element of an MXML document is a subclass of the Application class.
一个MXML文档的根元素是application类的一个子类。
The LzLayout class is a subclass of LzNode, which is responsible for laying out views.
LzLayout类是LzNode的子类,负责布置视图。
In fact, InputStream is abstract, so some sort of subclass is necessary.
实际上,InputStream是一个抽象类,因此某种类型的子类是必要的。
A WorkAdapter class is also included that provides default implementations of all the methods so that a subclass need only override those it's interested in.
workadapter类也包含在内,它提供了所有方法的默认实现,因此,子类只需覆盖自己感兴趣的方法即可。
This is one approach that enables the client to determine what member of the class hierarchy it receives, and process the additional information in the subclass accordingly.
这是一种可以使客户端能确定他接收到的是类层次中的什么成员的方法,并相应处理子类中的附加信息。
You can also override a method with the same signature that returns a subclass of the object returned by the original method.
你还可以覆盖一个方法,在这个方法中返回原始方法所声明的返回对象的子类。
As you can see, you can then create objects of this new subclass, specifying the two properties (title and HTML) that vary between each of the Windows.
正如您所看到的,您可以创建这个新子类的对象,指定两个在每个窗口中各不相同的属性(title和html)。
In this case, creating Pegasus as a subclass of Horse makes sense because it expresses a relationship between the two classes.
在本例中,创建Pegasus作为Horse的子类很有意义,因为它表示了这两个类之间的关系。
You will never instantiate this class directly, but always create an instance of its subclass.
永远不要直接实例化这个类,而是创建它的子类的一个实例。
Finally, Listing 6 shows a partial implementation of the parameter definition subclass for int parameter values.
最后,清单6显示了int形参值的形参定义子类的部分实现。
You never create an instance of it — instead, you always work with a subclass.
您永远不会创建它的实例——相反,您总是使用它的子类。
You must subclass (that is, create a class that extends it) and create an instance of the child class.
必须创建子类(即,创建继承它的类),并创建该子类的实例。
The first two characters of the SQL state are a class value, and the last three characters form a subclass value.
SQL状态的前两个字符是一个类值,后三个字符形成子类值。
Implementations of this interface don't need to subclass any particular class; we have the maximum possible freedom.
实现这个接口不需要任何特定的子类;我们有最大限度的自由。
If a subclass of one of these classes needed to override the default behavior, it could do so by overriding the method.
如果这些类中的任何一个的子类需要覆盖默认行为,那么可以通过覆盖这个方法实现。
There is a subclass of the base message class specific to each type of message.
Message基类的一个子类特定于消息的具体类型。
Which means that the type parameter of the Box can be t or any subclass of t.
这表示Box的类型参数可以是t或t的任何子类。
You might also reconsider your privilege model if you know that a certain subclass of users has increased responsibility over a certain part of the application.
如果您知道特定的用户子类增加了对应用程序特定部分的责任,则可能还要重新考虑权限模型。
This is the class that does the actual work of processing incoming events; it is a subclass of DefaultMessageHandler.
该类实际执行处理传入事件的任务;它是DefaultMessageHandler 的子类。
Although ontology defines a service as a subclass of element, it states that instances of higher level classes, for example, systems may provide capabilities that can be offered as services.
尽管在本体中服务是作为元素的子类而定义的,但是它也提到,上层类别(如系统)的实例提供的能力也可视为服务。
The disadvantage of using instanceof checks in this fashion is that, if we were to add another subclass of Tree (such as, a LeafWithValue class), we would have to revise these instanceof checks.
以这种方式使用instance of检查语句的一个缺点是,如果我们要添加Tree的另一个子类(比如一个leafwithvalue类),我们将不得不修改这些instance of检查语句。
You must understand how anonymous inner classes work (the inline declaration of the Command subclass) and understand the implications of the execute method.
您必须理解匿名内联类是如何工作的(Command子类的内联声明),并理解execute方法的含义。
This concept is getting more into the area of treating each element of an enumerated type as a subclass.
这个概念正在深入到将枚举类型的每个元素作为一个子类对待的领域。
If none of the prepackaged Style classes fit your needs, you can subclass the base Style class and define your own naming conventions.
如果没有预包装的style类符合您的需要,那么您可以定义Style基类的子类,并定义自己的命名约定。
The DelegatePaintPanel subclass allows any image to be the background of any other (partially transparent) component.
delegatepaintpanel子类允许任何图像作为任何其他(部分透明)组件的背景。
If a more complex set of data is required with more-customized queries, you can subclass the generic DAO.
如果查询需要更复杂的数据集,那么可以从泛型dao派生出子类。
If a more complex set of data is required with more-customized queries, you can subclass the generic DAO.
如果查询需要更复杂的数据集,那么可以从泛型dao派生出子类。
应用推荐