• Ability to mock concrete classes and interfaces.

    模拟具体接口能力

    youdao

  • Depend on abstractions. Do not depend on concrete classes.

    依赖于抽象,而不是具体实现类

    youdao

  • Recall the earlier discussion on using interfaces versus concrete classes.

    回想一下之前关于使用接口还是具体类的讨论

    youdao

  • To map our two concrete classes (Lease and Property), we will use the XML tag.

    映射两个具体(LeaseProperty),就要使用XML标签

    youdao

  • One major disadvantage of the EasyMock framework is that you can't mock concrete classes - only interfaces.

    EasyMock框架一个主要缺点不能模拟具体——而只能模拟接口

    youdao

  • Instead of using interfaces directly, we create concrete classes first and then use them as per our need.

    我们首先创建具体然后根据我们需要使用它们不是直接使用接口

    youdao

  • For example, when building library code, it's better to define types as interfaces rather than as concrete classes.

    例如构建代码时,最好类型定义成接口不要定义成具体的类。

    youdao

  • As shown above, queries on concrete classes only select the required data without unnecessary table joins or unions.

    正如上文所示具体查询选择需要数据没有不必要的连接联合。

    youdao

  • JDBC concrete implementations are loaded implicitly, and source code rarely references these concrete classes directly.

    JDBC具体实现隐式加载的,而且源代码很少直接引用这些具体

    youdao

  • Provide an interface for creating families of related or dependent objects without specifying their concrete classes.

    创建一相关相互依赖对象提供接口而且无须指定它们的具体

    youdao

  • Provide an interface for creating families of related or dependent objects without specifying their concrete classes .

    提供一个接口可以创建一系列没有实现相关联对象

    youdao

  • Capture highlevel, stable concepts in abstract classes and interfaces and provide implementations using concrete classes.

    抽象接口捕捉高级稳定概念并用具象实现

    youdao

  • In the worst case, if the imports are concrete classes and their behavior changes, then the class doing the importing could break!

    糟糕的情况下如果导入的是具体并且它们的行为发生更改那么执行导入可能会中断!

    youdao

  • This technique helps in agile development, without the need to create many concrete classes that will be used only in one component.

    这种技术有助于敏捷开发——需要创建许多一个组件使用具体

    youdao

  • In this case it is better to implement the method in abstract class rather than defining it separately in all your concrete classes.

    这种情况最好实施方法抽象不是定义分别所有的具体类。

    youdao

  • By further examining the exception package and noting the ratio of abstract to concrete classes, you can derive another metric: abstractness.

    通过进一步检查exception注意抽象具体比率可以派生出另一个度量抽象性

    youdao

  • When referring to the classes Open Close Principle can be ensured by use of Abstract classes and concrete classes for implementing their behavior.

    提及打开关闭原则,它可以通过抽象实体实现行为方式来确保

    youdao

  • Since Castor USES concrete classes rather than interfaces, it's a little simpler than JAXB for constructing or modifying document data structures.

    由于Castor使用具体不是接口,因此对于构造修改文档数据结构,jaxb略微简单。

    youdao

  • Concrete classes provide the appropriate implementation for their respective base class. The Factory Method Pattern consists of the following classes.

    concrete它们各自提供恰当实现

    youdao

  • So, if you inherit the abstract class in multiple concrete classes, then the properties of the abstract class will be part of each table of the concrete class.

    因此如果多个具体中,继承抽象的话,那么这个抽象类属性会是每一个具体类(表)的属性的一部分

    youdao

  • These are the concrete classes with work with the WebSphere Application Server EJB container to make the example EJBs fulfill all of the qualities defined by the EJB specification.

    个具体,它WebSphereApplicationServerejb容器一同工作使范例eJB实现EJB规范定义所有特性

    youdao

  • Another helpful addition to PHP V5 is the abstract class, which makes it easy to have one base class to implement the core of an interface from which you then create concrete classes.

    PHPV 5中另一个有帮助的新功能抽象,使用抽象类可以轻松一个实现接口核心部分,然后接口创建实体类。

    youdao

  • Rather than merely redefining or adding specific methods as in most inheritance patterns, Spark concrete classes have two features (the general pattern is common to the stages and various parents).

    Spark具体并不象大多数继承模式中的类那样仅仅重新定义添加特定方法而是具有两种特性(一般的模式阶段各种模式都一样)。

    youdao

  • We can't instantiate instances of abstract classes, even when all their field and method members are concrete.

    我们不能实例化一抽象即使它们的字段方法都是具体的。

    youdao

  • To achieve a degree of consistency between different interception points, it was decided to create a set of base classes that could be subclassed for each concrete interception point.

    为了不同拦截间保持一定程度一致性而做出的决定创建可以根据这些基类每个具体的拦截点创建子类

    youdao

  • Client classes can be coded to require only the abstract type, leaving the strategies and outcomes of implementation to the concrete class instances passed to them at run time.

    客户机编码需要抽象类型,而实现策略结果留给运行传递它们具体实例

    youdao

  • Its components rely on interfaces and abstract classes as opposed to concrete ones, as they would in a tightly coupled system.

    松散耦合应用程序中的组件依赖各种接口抽象,而紧密耦合的系统则之相反,其组件依赖于各种具体

    youdao

  • Listing 6 shows the concrete DictionaryIO classes, with the actual implementations omitted for the sake of brevity.

    清单6展示了具体dictionaryio为了简洁,此处省略实际实现

    youdao

  • Adding new data types (classes) with visitors is difficult, however, as the visitor pattern requires a visit method for all concrete types.

    然而通过访问者添加数据类型()较为困难,因为访问者模式要求所有具体类型都具有一个visit方法

    youdao

  • It also introduces the BaseEntity and AuditableEntity base classes, from which concrete persistent classes can be extended, depending on whether or not auditing information is required for an object.

    引入BaseEntityAuditableEntity可以根据是否需要对象的审计信息,分别这些基类派生出具体的持久化类。

    youdao

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

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

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