• Contrast the use of an abstract base class against an interface?

    对比抽象基类和接口的使用。

    youdao

  • This is a base class that makes writing handler classes easier.

    这个基类将使编写处理程序类更加容易。

    youdao

  • Connections are established by creating instances of the PDO base class.

    连接是通过创建pdo基类的实例而建立的。

    youdao

  • Access to data fields inherited from a virtual base class is not supported.

    不支持访问从虚拟基类继承的数据字段。

    youdao

  • The derived classes have the same dynamic class attributes of the base class.

    派生类具有跟基类相同的动态类属性。

    youdao

  • In Listing 11, the abstract base class implements an interface AsyncCallback.

    在清单11中,抽象类实现AsyncCallback接口。

    youdao

  • Mapping additional classes is done the same way as mapping the base class.

    按照相同的方式对其他类进行映射。

    youdao

  • I'll start by creating a base class that holds an instance of an Entity object.

    我将首先创建一个基类,用于容纳entity对象的一个实例。

    youdao

  • The base class also defines some simple constants for the names of the tags.

    基类还为标记的名称定义了一些简单的常量。

    youdao

  • The base class takes format, a string that specifies the data format to use.

    基类获取format,这是一个指定了要使用的数据格式的字符串。

    youdao

  • The base class is called viewer, which is an extension of a structured viewer.

    基类叫做Viewer,它是结构化查看器的一个扩展。

    youdao

  • Therefore it is a good idea to create a generic base class that can be reused later.

    因而,最好是创建一个可重用的通用基类。

    youdao

  • The parts that are common throughout all your systems go to a base class you always use.

    在整个系统中都会使用的部分可以放到基类里面。

    youdao

  • To begin we create an abstract base class which represents the service we want to expose.

    首先,我要创建一个抽象基类,用于表示我们要公开的服务。

    youdao

  • The WebComponent ACTS as a base class for simple HTML components such as Label and Image.

    WebComponent充当诸如标签和图像这类简单的HTML组件的基类。

    youdao

  • Now, to select the base class, click the Add button, and select LibraryEntry from the dialog box.

    现在,可以选择这个基类,点击add按钮,然后从对话框中选择LibraryEntry。

    youdao

  • First, create an abstract base class that encapsulates this common functionality, as in Listing 7.

    首先,创建一个抽象的基类,封装此通用功能,如清单7所示。

    youdao

  • Figure 1 presents a base class for persistent entities that contains the necessary auditing fields.

    图1为包含审计字段的持久化实体提供了一个基类。

    youdao

  • To keep the framework simple, all additional SOA error handlers will sub-class from this base class.

    要使得框架简单,所有附加的SOA错误处理都将作为继承此基类的子类。

    youdao

  • The DataMapRepository class presented previously and its base class LinkedHashMap are not thread-safe.

    之前介绍过的datamaprepository类及其基类LinkedHashMap都不是线程安全的。

    youdao

  • The ProcessConnector class in turn extends connector, which is the base class of the connector framework.

    ProcessConnector类反过来扩展Connector,这是连接器框架的基础类。

    youdao

  • Observe that the implementation emits trace events using the m_logger member variable from the base class.

    观察该实现使用基础类中m_logger成员变量发出的跟踪事件。

    youdao

  • Next, look at the ValidValuesTable class, the base class for all specific list values classes (Listing 6).

    接下来,看一下validvaluestable类,这是所有特定列表值类的基类(见清单6)。

    youdao

  • The next thing you have to do is override any method from the base class or classes to populate the column.

    接下来需要覆盖来自基类或者类的任何方法来填充列。

    youdao

  • While technically not meant to act as a generic base class for addresses, it could be used for that purpose.

    虽然从技术的角度看,其没有打算充当地址的通用基类,但还是可以这样来使用。

    youdao

  • In fact, you can substitute the base class for every node object, giving your whole application custom behaviors.

    事实上,您可以置换每种节点对象的基类,从而能够定制整个应用程序的行为。

    youdao

  • In this case, we have it just print a message to the console and then call the base class version for actual handling.

    在此例中,我们仅让它向控制台打印一条消息,然后调用它的基类版本来执行实际的处理。

    youdao

  • The idea of inheriting from a base class without being able to downcast to it or upcast to the base just seemed silly.

    继承一个基类而无法将它向下或向上转换到基类的理念是不明智的。

    youdao

  • Marking the base class as "private" allowed the derived class to inherit from it without actually becoming one of them.

    将基类标记为 “私有”允许派生类从该基类继承而来,而无需实际成为 一个基类。

    youdao

  • You might think, reasonably enough, that the same enhancement can be accomplished simply by subclassing the XO base class.

    您可能会非常合理地想到,也可以定义xo基类的子类来实现同样的增强。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定