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.
采用混合策略,例如“每个类层次一张表”中嵌入“每个子类一张表”,这样可以利用不同策略的优势。
You will never instantiate this class directly, but always create an instance of its subclass.
永远不要直接实例化这个类,而是创建它的子类的一个实例。
Create a mock object class as a subclass of the concrete class.
创建一个模拟对象类作为具体类中的一个子类。
By default, when you create a subclass, its constructor merely calls the constructor of its parent class.
默认情况下,当您创建一个子类时,它的构造函数只调用其父类的构造函数。
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并覆盖其非静态方法。
There is a subclass of the base message class specific to each type of message.
Message基类的一个子类特定于消息的具体类型。
TargetClassName Optional class type to specify the subclass of cmis: document that you will create for the new documents.
target ClassName用于指定将为新文档创建的cm is:document的子类的可选类类型。
The root element of an MXML document is a subclass of the Application class.
一个MXML文档的根元素是application类的一个子类。
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)。
As you can see, the FlickrView class is a subclass of ImageView.
可以看到,flickrview类是ImageView的子类。
The tree class represents a tree and is a subclass of Basetree.
树以tree类表示,这个类是Basetree的子类。
The LzLayout class is a subclass of LzNode, which is responsible for laying out views.
LzLayout类是LzNode的子类,负责布置视图。
The LzLayout class is a subclass of LzNode, which is responsible for laying out views.
LzLayout类是LzNode的子类,负责布置视图。
应用推荐