我还添加了一个基类。
All classes inherit from a common base class.
所有的类都从一个通用的基类继承。
Connections are established by creating instances of the PDO base class.
连接是通过创建pdo基类的实例而建立的。
Contrast the use of an abstract base class against an interface?
对比抽象基类和接口的使用。
Access to data fields inherited from a virtual base class is not supported.
不支持访问从虚拟基类继承的数据字段。
To begin we create an abstract base class which represents the service we want to expose.
首先,我要创建一个抽象基类,用于表示我们要公开的服务。
The base class in Listing 7 extends android.os.AsyncTask.
清单7中的基类扩展了android.os.AsyncTask。
I'll want to extract the common elements of performance into an abstract base class.
我想把性能的公共元素提取到一个抽象基类。
In fact, you can substitute the base class for every node object, giving your whole application custom behaviors.
事实上,您可以置换每种节点对象的基类,从而能够定制整个应用程序的行为。
Figure 1 presents a base class for persistent entities that contains the necessary auditing fields.
图1为包含审计字段的持久化实体提供了一个基类。
org.objectweb.asm.ClassAdapter is a convenient base class for this purpose.
ClassAdapter 是针对此目的的一个方便的基类。
The application's style sheet source should immediately follow the declaration of the application's base class (see Listing 5).
应用程序的样式表源代码应该立即出现在应用程序基类声明之后(参见清单5)。
You might think, reasonably enough, that the same enhancement can be accomplished simply by subclassing the XO base class.
您可能会非常合理地想到,也可以定义xo基类的子类来实现同样的增强。
While technically not meant to act as a generic base class for addresses, it could be used for that purpose.
虽然从技术的角度看,其没有打算充当地址的通用基类,但还是可以这样来使用。
JoContainer is the base "class" for organizing sets of UI elements.
joContainer是组织ui元素集合的基类。
In this case, we have it just print a message to the console and then call the base class version for actual handling.
在此例中,我们仅让它向控制台打印一条消息,然后调用它的基类版本来执行实际的处理。
Therefore it is a good idea to create a generic base class that can be reused later.
因而,最好是创建一个可重用的通用基类。
With this example, I created a base class to handle the property changed events.
用这个例子,我创建了一个处理属性改变事件的基类。
A base class is great for defining common functionality, but you must make sure that each data element defined is truly necessary.
基类可以很好地定义常见功能,但是您必须确保所定义的每个数据元素都是真正需要的。
The implementation has to extend a certain base class, and there should be an asynchronous interface that the framework implements.
实现需要扩展某个基类,并且应该提供由框架实现的异步接口。
Since Ruby is dynamically typed, they need not inherit from a common base class.
由于Ruby是动态类型的,所以这些子类无需从通用基类中继承。
First, create an abstract base class that encapsulates this common functionality, as in Listing 7.
首先,创建一个抽象的基类,封装此通用功能,如清单7所示。
I'll start by creating a base class that holds an instance of an Entity object.
我将首先创建一个基类,用于容纳entity对象的一个实例。
Each service or proxy that supported an interface was required to inherit from the abstract base class that defined the interface.
支持接口的每项服务或代理必须继承定义该接口的抽象基类。
The WebComponent ACTS as a base class for simple HTML components such as Label and Image.
WebComponent充当诸如标签和图像这类简单的HTML组件的基类。
Observe that the implementation emits trace events using the m_logger member variable from the base class.
观察该实现使用基础类中m_logger成员变量发出的跟踪事件。
To handle this, you implement customers as an abstract base class with many different subclasses (for example, financial, manufacturing, and so on).
要处理这个问题,要把客户实现成一个抽象基类,拥有许多不同的子类(例如,财务、制造等等)。
A suitable set of implementations is provided in the testing framework, in a base class named ScaMockBase.
在测试框架的基础类ScaMockBase中提供了一组合适的实现。
Such a base class defines the buildRendering method that is responsible for building the widget rendering elements.
这样一个基类定义了负责构建小部件呈现元素的buildRendering方法。
This base class adds functionality for testing GWT code as well as handling some of the plumbing to get a GWT component up and running.
该基类添加了一些功能,可测试GWT代码并处理某些基础实现从而启动并运行GWT组件。
应用推荐