If a subclass of one of these classes needed to override the default behavior, it could do so by overriding the method.
如果这些类中的任何一个的子类需要覆盖默认行为,那么可以通过覆盖这个方法实现。
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
该异常的抛出,表明代码企图把对象的类型转换成一个子类,而该对象并不是这个子类的实例。
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.
如果您知道特定的用户子类增加了对应用程序特定部分的责任,则可能还要重新考虑权限模型。
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.
尽管在本体中服务是作为元素的子类而定义的,但是它也提到,上层类别(如系统)的实例提供的能力也可视为服务。
This means that no subclass of that class can declare a finalizer.
这意味着该类的任何子类都无法声明终结器。
Whenever you define a new class as an extension of an existing one, the new class is said to be a subclass of the original.
任何时候你定义一个新类继承自已有的类,这个新类就叫做已有那个类的子类。
The sample watchdog code (see Download) defines WatchedPeriodicThread as a subclass of PeriodicThread.
示例 watchdog代码(参见下载)定义WatchedPeriodicThread作为 PeriodicThread的子类。
In this case, creating Pegasus as a subclass of Horse makes sense because it expresses a relationship between the two classes.
在本例中,创建Pegasus作为Horse的子类很有意义,因为它表示了这两个类之间的关系。
Do you mean to create an instance of cmis: document or do you want a subclass of document named CmisJpg?
您的意思是要创建cm is:document的一个实例呢还是想要名为CmisJpg的文档的一个子类呢?
Presumably that means IndexReader.open , a static factory method, instantiates an appropriate concrete subclass of IndexReader and returns it.
大概这意味着IndexReader . open,一个静态工厂方法,实例了一个适当的具体的indexreader子类并返回它。
RuleDialog, a subclass of RuleDialog that provides a dialog for creating and editing a rule
RuleDialog 的子类提供了创建和编辑规则的对话框
Rectangle is also a concrete subclass of Shape that defines draw and overrides toString.
Rectangle也是Shape得一个具体子类,定义了draw方法,重写了toString。
There is a subclass of the base message class specific to each type of message.
Message基类的一个子类特定于消息的具体类型。
This is the class that does the actual work of processing incoming events; it is a subclass of DefaultMessageHandler.
该类实际执行处理传入事件的任务;它是DefaultMessageHandler 的子类。
The root element of an MXML document is a subclass of the Application class.
一个MXML文档的根元素是application类的一个子类。
The tree class represents a tree and is a subclass of Basetree.
树以tree类表示,这个类是Basetree的子类。
TargetClassName Optional class type to specify the subclass of cmis: document that you will create for the new documents.
target ClassName用于指定将为新文档创建的cm is:document的子类的可选类类型。
Which means that the type parameter of the Box can be t or any subclass of t.
这表示Box的类型参数可以是t或t的任何子类。
As you can see, the FlickrView class is a subclass of ImageView.
可以看到,flickrview类是ImageView的子类。
The LzLayout class is a subclass of LzNode, which is responsible for laying out views.
LzLayout类是LzNode的子类,负责布置视图。
You also have a subclass of Vehicle called Automobile as shown in Listing 6.
您还有一个Vehicle的子类,类名为Automobile,如清单6所示。
The tookit parses the message and creates the corresponding subclass of com.ibm.db2.tools.repl.publication.Msg based on the message content.
该工具箱将解析消息,并基于消息内容创建相应的 com.ibm.db2.tools.repl.publication.Msg 的子类。
Every class you define is a subclass of owl: thing and a superclass of owl: Nothing.
您所定义的每个类都是owl:thing的子类,并且是owl:Nothing的超类。
Create a mock object class as a subclass of the concrete class.
创建一个模拟对象类作为具体类中的一个子类。
If this is the progenitor of these rare subclass of supernova, we expect to be finding these exotic pairs at the same frequency as the supernova.
如果这种双星系统就是这类罕见的亚型超新星的起源,我们将会发现这类奇异的双星系统和超新星具有相同的频率。
For a normal object (non-array) : the object must be an instance of the target class or a subclass of the target class.
对于普通对象(非数组):对象必须是目标类的实例或目标类的子类的实例。
This means that nobody can create a subclass of that class, which prevents the attack from working.
这意味着没有人可创建该类的子类,这会阻止攻击生效。
The SOA ontology defines a composition as a subclass of a system, thus emphasizing that while a composition is a system, a system is not necessary a composition.
SOA本体将组合定义为系统的子类,所以,它强调:组合是一个系统,而系统不一定是组合。
Specialization object: a subclass of the target that overrides the creation method to return a mock instead of a collaborator.
特殊化对象:覆盖创建方法以返回模仿对象而不是合作者的目标的子类。
Specialization object: a subclass of the target that overrides the creation method to return a mock instead of a collaborator.
特殊化对象:覆盖创建方法以返回模仿对象而不是合作者的目标的子类。
应用推荐