网站首页  词典首页

请输入您要查询的英文单词:

 

单词 factory method
释义

factory method

  • 网络工厂方法模式;工厂模式;设计模式之工厂方法
1.
工厂方法模式
工厂方法模式意图工厂方法模式(Factory Method),定义一个用于创建对象的接口,让子类决定实例化哪一个类。工厂方法使一 …
superstar.cnblogs.com
2.
工厂模式
factory是什么意思?_百度知道 ... painting factory: 烤漆厂 Factory Method: 工厂方法|工厂方法模式|工厂模式 ...
zhidao.baidu.com
3.
设计模式之工厂方法
设计模式之工厂方法FACTORY METHOD))(三) 2004-06-03设计模式之工厂方法(FACTORY METHOD))(二) 200…
dev.21tx.com
4.
工厂方法设计模式
OK,简单工厂完成,我们可以由简单工厂设计模式(Simple Factory)演变为工厂方法设计模式(Factory Method)。 工厂方法设计 …
www.th7.cn
5.
设计模式之工厂方法模式
研磨设计模式之工厂方法模式(Factory Method)-模式讲解3 评论 1 深入浅出JAVA开发 2 NOSQL系列教程 3 领悟书生写论坛 4 p…
www.656463.com
6.
抽象工厂
抽象工厂Factory Method) 抽象工厂:意的意图在于创建一系列互相关联或互相依赖的对象。
blog.csdn.net

例句

释义:
1.
The factory method pattern, as its name implies, defines the implementation of a method used to churn out objects.
而工厂方法模式,顾名思义,定义的是一个用来大量产出对象的方法的实现。
www.ibm.com
2.
Use constructor-arg elements to specify arguments to the factory method, if it takes arguments.
若这个工厂方法需要参数的话,使用constructor-arg元素来指定它的参数。
blog.sina.com.cn
3.
The class returned by the factory method is an adapter to a particular cloud service.
工厂方法返回的类用于一个特定于服务的适配器。
www.ibm.com
4.
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方法模式添加适当的方法。
www.ibm.com
5.
Assure that the factory method is accessible to the target object and its subclasses.
确保目标对象及其子类可以访问工厂方法。
www-128.ibm.com
6.
Optional: create a unit test to assure that the original target object's factory method still returns the correct, non-mock object.
可选的:创建单元测试以确保原始目标对象的工厂方法仍返回正确的非模仿对象。
www.ibm.com
7.
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接口。
www.ibm.com
8.
This factory method instantiates the collection of course objects by delegating the work to the service layer.
该工厂方法通过将这项工作委托给服务层来实例化课程对象集合。
www.ibm.com
9.
To create an instance of the Factory Method Pattern, perform the same steps as for the Singleton Pattern.
要创建Factory方法模式的实例,执行同Singleton模式相同的步骤。
www.ibm.com
10.
Some of the more common ones, like Factory Method, are ubiquitous, even in the Java language itself.
一些更为通用的方式,如工厂方法则是普便存在的,甚至存在于Java语言本身。
www.ibm.com
1.
You use the factory method pattern when an application needs to create objects whose type depend on the implementation of subclasses.
您可以在应用程序需要创建其类型依赖于子类的实现的对象时,使用工厂方法模式。
www.ibm.com
2.
This section offers a step-by-step description of the Extract and Override factory method refactoring.
本节将循序渐进地描述“抽取”和“覆盖”工厂方法重构。
www.ibm.com
3.
Another type of factory pattern is called the factory method.
工厂模式的另一种类型称之为工厂方法。
blog.163.com
4.
Factory Method is a structural pattern that lets a class defer instantiation to subclasses.
工厂方法(FactoryMethod)是一种结构模式,它使一个类延迟实例化到子类。
www.ibm.com
5.
The example gave a client and server bundle (both in the same VM), and the client found the server via a factory method.
文中的例子给出了一个client和一个serverbundle(两者在同一个VM中),client通过工厂方法找到server。
www.infoq.com
6.
Method as a factory method for obtaining the aspect instance.
方法作为工厂方法,获得观点的实例。
www-128.ibm.com
7.
In this way, the object returned from the static factory method could implement any number of interfaces defined when I create the proxy.
用这种方式,静态工厂方法返回的对象可以实现建立代理时所定义的任意数量的接口。
www.ibm.com
8.
This factory method is nice since each generated function has it's own space for local variables.
这样很好,因为每个生成的函数有他们自己的本地变量空间。
wiki.grati.org
9.
A factory method, by convention, begins with create and returns the interface.
根据约定,factory方法将以create为开头并返回接口。
www.ibm.com
10.
The first class uses a constructor to initialize the properties, and the second class uses a static factory method.
第一个类使用构造函数初始化属性,第二个类使用静态工厂方法。
technet.microsoft.com
1.
In GPars, actors can be created from a factory method that takes a closure or by subclassing groovyx. gpars. actor. AbstractPooledActor.
在GPars中,可以利用接受闭包的factory方法或通过为groovyx.gpars.actor.AbstractPooledActor划分子类来创建actors。
www.ibm.com
2.
The need for using a supertype arises frequently in the Java language, especially when the Factory Method pattern is used.
使用父类的需求在Java语言中经常出现,特别是在使用了FactoryMethod模式的情况下。
www.ibm.com
3.
In this paper, a reusable Web chart framework which was based on XML and JFreeChart was designed by Factory Method and Iterator Pattern.
本文采用工厂方法和迭代器设计模式设计了一种基于XML和JFreeChart的可复用Web图表框架。
www.xinkexue.com
4.
For example, suppose we want to add a factory method to a List class.
例如,假定想将factory方法添加到List类中。
www.ibm.com
5.
The solution here is to provide a method parameter with a factory method for the items to read, as shown in Listing 2
这里的解决方案是为要读取的条目提供一个带工厂方法的方法参数,如清单2所示
www.ibm.com
6.
Replace Constructor with Factory Method
以工厂函数取代构造函数
927802.k53.opensrs.cn
7.
The Extraction of Product Machining Information Based on Factory Method Design Pattern
基于工厂设计模式的产品加工信息提取
ilib.cn
8.
Singleton with static factory method
公有静态成员是一个工厂方法
macrochen.blogdriver.com
9.
using a static factory method to create a Msg object
使用静态工厂方法创建一个Msg对象
blog.sina.com.cn
10.
Because we overrode the factory method to write this test, it turns out that we no longer have any test coverage of the
因为我们覆盖了工厂方法来编写这个测试,所以其结果是:我们的测试不再包括任何
www-128.ibm.com
随便看

 

英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2025/2/27 11:23:47