The policy of Simple Factory is reformed, and applied to produce command objects, which eliminates the limitations of past Simple Factory and makes up the defect of Factory Method.
改进了简单工厂模式的实现策略,克服了原来简单工厂模式的局限性,同时弥补了工厂方法模式的不足。
Our roles in the factory were simple: Place cakes on a moving belt. Attach icing ears. Apply icing eyes and nose. Remove bunny from the belt.
我们在工厂的工作很简单:将蛋糕放在传送带上,贴上糖霜耳朵,涂上糖霜的眼睛和鼻子,然后从传送带上取下兔子蛋糕。
Sounds simple -- but this is where the specific context factory that you chose could start to affect matters.
听起来简单 ――但是这里您所选择的特定上下文工厂就要产生影响了。
Our object factory is fairly simple.
我们的对象工厂相当简单。
For this example, this store is implemented with a simple, ephemeral hash table and is provided with a factory for generating the implementation class (Listings 3 and 4).
对于这个示例来说,这个存储器是由一个简单且短暂的散列表实现的,并由一个生成实现类的工厂提供(清单3和清单4)。
You perform a simple SQL query, and then pass the results to your factory.
执行一个简单的SQL查询,然后将结果传递给工厂。
The factory started out making the kinds of simple items used by rural folk like Ms. Li: tablecloths, aprons and sleeve protectors.
工厂开始时生产和李桂莲一样的农村人使用的简单物件,比如桌布、围裙和套袖。
The Installation Factory provides a simple mechanism for grouping numerous inputs and creating a custom install package for Application Server as an output.
InstallationFactory提供了对大量输入进行分组的简单机制,并为ApplicationServer创建了自定义安装包作为输出。
The getCalculator() factory method currently takes the very simple approach of assuming that all calculators created by this service will be accessed via the same service endpoint.
目前, getCalculator()工厂方法采用了非常简单的方法,它假定由这个服务所创建的全部计算器都是通过相同的服务端点来访问的。
The factory classes in the Simple Cloud API require an array of credentials as a parameter.
SimpleCloudAPI中的工厂类要求一组证书作为参数。
This can be as simple as invoking the base class's factory method and asserting that the returned object is of the correct type. For example.
这与调用基类的工厂方法并断言返回对象具有正确类型一样简单。
For example, take the case of a simple application that USES a WebSphere MQ messaging provider connection factory configured to use the LoggingChannelExit class as a send exit.
例如,使用配置为使用loggingchannelexit类作为发送出口的WebSphereMQ消息提供程序连接工厂时要谨慎。
Create a simple UML model of a car factory.
创建一个简单的uml模型,carfactory。
The factory class itself is used to get an instance of Transformer (discussed in the next subsection) and to perform simple configuration.
工厂类本身用于获得Transformer的实例(在下一小节中讨论),并执行简单配置。
Inside classical forms of firms, such as factory system based on simple coordination, coordinated division of labor and machinery system, specialized knowledge will emerge in the production process.
基于简单协作、分工协作以及机器体系的工厂制度等古典企业组织形式内部,在生产过程中会产生专业化知识。
Cartographer is a simple, efficient object relational mapper engine. It provides rapid access to relational data using lightweight data and factory Java objects.
这是个简单、效的对象-关系映射工具。它使用轻量级数据和工厂对象实现对关系数据的快速访问。
The cost of the network is lower and design method is simple, moreover, it can be widely used in various factory control systems.
该网络设计方法简单、成本低,它可广泛应用于各类工厂的控制系统。
All machine data is conveniently organized to facilitate the transfer of factory level data to the front office with a few simple keystrokes.
所有的机械数据被便利地组织在一些,推动了数据从工厂到上层办公室的传送,仅用一些简单的按键。
Its simple sculpt and flexible layout symbolizes the formation of modern architecture, and "798" factory is exactly the mirror of perfect combination of utility and simplicity.
造型简洁,构图灵活,标志着新现代主义建筑风格的形成。798厂正是这种实用与简洁完美结合的典范。
The method is simple, convenient, which is suitable for factory to maintain zinc dipping solution.
该法简单、方便.方便工厂对浸锌液的维护。
The only reliable way to do it is to also export a class factory function, a simple function that USES the new operator to create the object and return the pointer.
唯一可靠的方法就是也出口类工厂函数,一个简单的函数,使用新的操作符来创建对象并返回的指针。
Rooftop air conditioning unit, a simple and reliable duct air conditioning system, has been widely used in many comfort areas, such as factory and supermarket.
屋顶空调机组由于其设计简单,安装使用方便,广泛应用于厂房和超市等场所。
Machines are cheap, simple operation, save energy, and my factory shipped timely. Welcome to our factory visit or phone ordering.
机械价格便宜,操作简单,节省能源,且我厂发货及时,欢迎来厂参观或来电订购。
Punch mould making this a simple, easy to operate, easy to use in the factory.
这一套冲孔模制造简单,操作方便,便于在工厂地使用句号。
This paper presents a "waveform display method" for checking the colour TV Chrominance Delay Line in the factory, and introduces a simple, practical and self-made test-signal generator.
本文提出一种适用于工厂检测彩色电视色度延迟线的“波形方法”,并介绍了一种自制的简易实用的测试信号源。
The invention not only has simple operation, but also greatly lowers the production cost and enhances the efficiency of the television production factory.
本发明不但操作简单,而且大大地降低了生产成本,提高了电视机生产工厂的效率。
May buy the price small advantage, the quality very good black tea in the black tea factory, every 250 grams approximately for Renminbi 10 Yuan, but the packing is relatively simple.
在红茶工厂可以买到价格便宜、品质上好的红茶,每250克约为人民币10元,但是包装相对简单。
May buy the price small advantage, the quality very good black tea in the black tea factory, every 250 grams approximately for Renminbi 10 Yuan, but the packing is relatively simple.
在红茶工厂可以买到价格便宜、品质上好的红茶,每250克约为人民币10元,但是包装相对简单。
应用推荐