An interface can extend other interfaces, just as a class subclass or extend another class.
接口可以继承其它接口,就像子类或继承其它类一样。
A Struts action is an instance of an action class subclass that implements a portion of a Web application and returns a forward.
Struts操作是Action类子类的实例,用来实现一部分Web应用程序并返回一个转发。
You can then customize how each class can be administered by adding class attributes to this subclass.
然后可以通过为这个子类添加类属性来定制如何对每个类进行管理。
Mixing strategies such as "Table per Subclass" embedded in "Table per class Hierarchy" so that you can take advantages of different strategies.
采用混合策略,例如“每个类层次一张表”中嵌入“每个子类一张表”,这样可以利用不同策略的优势。
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.
这是一种可以使客户端能确定他接收到的是类层次中的什么成员的方法,并相应处理子类中的附加信息。
By default, when you create a subclass, its constructor merely calls the constructor of its parent class.
默认情况下,当您创建一个子类时,它的构造函数只调用其父类的构造函数。
To use an extension, you directly create an object of the extension subclass, which can then use, add, or override features to the parent class it is derived from.
要使用一个扩展,您应该直接创建一个扩展子类对象,然后使用、添加、或者重写特性到父类(它从其中衍生的)。
If a class that uses an abstraction has to downcast to a specific subclass in one section, you're not following the Open Closed Principle.
如果在某一部分中,一个抽象了的类必须向下转换为特定的子类,那么你就没有遵循开闭原则。
A complex workaround is available that requires a subclass of each client-side class to be created for each locale (see Resources), but GWT's engineers are working on a more viable solution.
现在有一个复杂的工作区,它需要为每个地区创建的客户端类的子类(请参阅参考资料),但是GWT的工程师正在开发更可行的解决方案。
If the target class is an interface, then it is considered a subclass if it implements that interface.
如果目标类是接口,那么会把它当作实现了该接口的一个子类。
For a normal object (non-array) : the object must be an instance of the target class or a subclass of the target class.
对于普通对象(非数组):对象必须是目标类的实例或目标类的子类的实例。
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.
任何时候你定义一个新类继承自已有的类,这个新类就叫做已有那个类的子类。
This means that nobody can create a subclass of that class, which prevents the attack from working.
这意味着没有人可创建该类的子类,这会阻止攻击生效。
Also any data change on a subclass involves two tables: the super class table and the subclass table.
任何子类数据的修改都涉及两张表:超类的表和子类的表。
You must subclass (that is, create a class that extends it) and create an instance of the child class.
必须创建子类(即,创建继承它的类),并创建该子类的实例。
To do this, JFace either provides an object that you use or a class you can subclass — and sometimes it provides both.
为了做到这一点,JFace提供可使用的对象,或提供可将其子类化的类(有时它两者都提供)。
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 Authenticator class is abstract, so you'll need to subclass it and implement the getPasswordAuthentication() method to store the username and password (see Listing 13).
Authenticator是一个抽象类,所以需要从它派生出子类,并实现 getPasswordAuthentication()方法来存储用户名和密码(见清单 13)。
Sometimes you need to write a subclass (often as an inner class) in order to test protected methods.
有时需要编写一个子类(通常作为内部类)来测试protected 的方法。
Instead of creating a new window and setting it up, you put the Gtk.Window class into a subclass and move all setup code into a constructor.
现在不再创建并设置新窗口,而是把Gtk . window类放进一个子类,并把所有设置代码移动到构造函数。
Prepared statements are a subclass of the statement class.
预置语句是statement类的一个子类。
To change the behavior of the Factory class, you simply subclass FactoryImpl and override its non-static methods.
要更改Factory类的行为,只要子类化Factory Impl并覆盖其非静态方法。
First, you must extend the class to add the missing methods. As shown in Listing 8, simply subclass QueryReadStore to CustomQueryStore.
首先,您必须扩展这个类来添加缺少的方法,如清单8所示,只需将子类QueryReadStore添加到Custom QueryStore。
TargetClassName Optional class type to specify the subclass of cmis: document that you will create for the new documents.
target ClassName用于指定将为新文档创建的cm is:document的子类的可选类类型。
With Zeus, you subclass the implementation class and use your subclass instead of the generated class when unmarshalling a document.
用Zeus可以生成实现类的子类,当对文档进行数据分解时,使用子类而不是使用生成类。
After the require statement, a class declaration stating that this class is a subclass of Test: : Unit: : TestCase must be added (as shown in below in Listing 6).
在require语句后面,添加一个类声明,指出这个类是Test: Unit:TestCase的子类(见清单6)。
The LzLayout class is a subclass of LzNode, which is responsible for laying out views.
LzLayout类是LzNode的子类,负责布置视图。
Every class you define is a subclass of owl: thing and a superclass of owl: Nothing.
您所定义的每个类都是owl:thing的子类,并且是owl:Nothing的超类。
Neither JPA nor EJB 2.x requires that you subclass (extend) any particular class.
jpa和ejb 2 .x都不要求您的子类扩展任何特殊类。
Neither JPA nor EJB 2.x requires that you subclass (extend) any particular class.
jpa和ejb 2 .x都不要求您的子类扩展任何特殊类。
应用推荐