Factory pattern is analyzed in detail and four conditions that adapt to the pattern are listed.

  • 该文对抽象工厂模式进行了详细的分析,列出了适合这个模式的四种情况。
  • 来源:互联网摘选更新时间:2026-07-02 19:27:51

  • 重点词汇
  • fournum.四;四个人(或事物)的一组;得四分的一击;四人赛艇的全体成员;四人赛艇;
  • factoryn.工厂;制造厂;
  • theart.这个;指已提到或易领会到的人或事物;指独一无二的、正常的或不言而喻的人或事物;用以泛指;与形容词连用,指事物或统称的人;用于姓氏的复数形式前,指家庭或夫妇;(指特定用途的事物)足够,恰好;每,一;当前的,本,此;(重读,表示所指的为知名或重要的人或事物)
  • adapt to变得习惯于…, 使适应于, 能应付…;
  • conditionsn.(居住、工作或做事情的)环境;(影响某事发生的)物质环境;<保险>承保险别;条件( condition的名词复数 );状况;健康状况;环境;
  • in detail详细地;—部分一部分地
  • isvt.& vi. 是(be的三单形式);
  • listedadj.列入文物保护名册的;登记上市的;
  • 相关例句
1、

Factory pattern is a common pattern for creation of polymorphic objects of different concrete types.

工厂模式是根据不同类型创建多态对象的一个常见方法。

互联网摘选

2、

Factory pattern is one of the effective patterns which decouple client and server.

工厂模式是把客户端模块与服务端模块有效解耦的模式之一。

互联网摘选

3、

Factory pattern was one of those patterns.

工厂模式是其中主要的一种。

互联网摘选

4、

Research and realization of class factory pattern under reflection mechanism

反射机制下类工厂模式的实现与研究

互联网摘选

5、

Application of simple factory pattern in data access layer

简单工厂模式在数据访问层中的应用

互联网摘选

6、

You can retrieve an MXBean instance from a static factory method that gives you direct access to the locally running JVM's MXBean interface.

您可以从一个静态工厂方法获得一个MXBean实例,该方法可以使您直接访问本地运行的JVM的MXBean接口。

互联网摘选

7、

The Factory Method Pattern is a creational pattern that defines an interface for creating an object but lets subclasses decide which actual class to instantiate.

Factory方法模式是一个创建的模式,它定义一个用来创建对象的接口,而让子类来决定实例化哪个类。

互联网摘选

8、

Considering the demand of the customer and referring excellent configuration software in the world, this paper chooses Factory Method from several classical methods to design the framework of the software.

本文结合实际项目的任务需求,在参考国内外成熟组态软件的基础上,选择工厂模式对软件的主体结构进行设计,保证了系统的一致性和可扩展性。

互联网摘选

9、

This paper introduces the steps of genetic programming. We give a general data structure of program tree and give its algorithm base on the simple factory method of design pattern.

介绍了遗传程序设计的一般步骤,根据设计模式中的简单工厂模式,提出了一种通用的程序树描述方法,针对这种描述方法给出相应的算法。

互联网摘选

10、

In the layer of database connection, author has studied the application environment and method by factory method and utilized this pattern to solve the connection problem of different database.

在数据连接管理层中,作者研究了创建型模式中简单工厂方法模式Factory Method的应用环境、应用方法,利用该模式解决与异构数据库连接的问题。

互联网摘选

11、

The example gave a client and server bundle ( both in the same VM), and the client found the server via a factory method.

文中的例子给出了一个client和一个server bundle(两者在同一个VM中),client通过工厂方法找到server。

互联网摘选

12、

Optional: create a unit test to assure that the original target object's factory method still returns the correct, non-mock object.

可选的:创建单元测试以确保原始目标对象的工厂方法仍返回正确的非模仿对象。

互联网摘选

13、

It describes two kinds of design patterns in COM in detail: Factory Method Pattern and Proxy Pattern, and tells how to realize the former.

接着具体讲述了组件对象模型中使用的两种设计模式:工厂方法模式和代理模式。

互联网摘选

14、

Before you generate the code and go through it, be aware that you also need to add the appropriate methods for the Factory Method Pattern.

在您生成代码并检查之前,要知道您也需要为Factory方法模式添加适当的方法。

互联网摘选

15、

In this way, the object returned from the static factory method could implement any number of interfaces defined when I create the proxy.

用这种方式,静态工厂方法返回的对象可以实现建立代理时所定义的任意数量的接口。

互联网摘选

16、

The factory method pattern, an element of the design pattern, provides a very flexible and powerful dynamic-expanding mechanism for system structure.

设计模式中的工厂方法模式为系统结构提供了非常灵活强大的动态扩展机制,采用。

互联网摘选

17、

In other words, Factory Method lets a class defer the instantiation to its subclasses.

换句话说,Factory方法令一个类实例化到其子类。

互联网摘选

18、

The need for using a supertype arises frequently in the Java language, especially when the Factory Method pattern is used.

使用父类的需求在Java语言中经常出现,特别是在使用了Factory Method模式的情况下。

互联网摘选

19、

The factory method pattern, as its name implies, defines the implementation of a method used to churn out objects.

而工厂方法模式,顾名思义,定义的是一个用来大量产出对象的方法的实现。

互联网摘选

20、

To create an instance of the Factory Method Pattern, perform the same steps as for the Singleton Pattern.

要创建Factory方法模式的实例,执行同Singleton模式相同的步骤。

互联网摘选

  • 今日热词
  • 热门搜索

英语网英语词典(dict.25820.com)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈