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.
听起来简单 ――但是这里您所选择的特定上下文工厂就要产生影响了。
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)。
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消息提供程序连接工厂时要谨慎。
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厂正是这种实用与简洁完美结合的典范。
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.
屋顶空调机组由于其设计简单,安装使用方便,广泛应用于厂房和超市等场所。
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元,但是包装相对简单。
The factory can be normal or simple, the layout can be designed by the landforms, and the equipment can be manufactured by production output.
生产厂房可建设标准厂房或简易厂房,工艺布置可随工厂地势具体清况而定,设备可根据年产量设计制造。
The method is simple and gives satis-factory results.
此种方法操作简单,结果满意。
Such machine can also be equipped with the lantern auxiliary unit manufactured by our factory to twist lantern (birdcage), it is simple in installation, saving labor, and easy to operate;
也可配置我厂生产的灯笼附机扭灯笼(鸟笼),该辅机安装简单,省工、省力操作方便;
Totally 250 young senior managers in enterprise consisting of general managers, vice managers and factory managers, average 34 years old, were investigated with simple coping style questionnaire.
采用简要应付方式问卷对250名由企业总经理、副总经理或厂级领导等所组成的高层青年管理人员的应付方式进行调查。
Today's biggest story, besides the U. S. budget deficit, is the dispute at the local automobile factory. What started as a simple discussion about pay has degenerated into a crippling strike.
除了美国预算赤字,今年最令人震动的消息就是当地汽车厂发生的劳资纠纷。
Today's biggest story, besides the U. S. budget deficit, is the dispute at the local automobile factory. What started as a simple discussion about pay has degenerated into a crippling strike.
除了美国预算赤字,今年最令人震动的消息就是当地汽车厂发生的劳资纠纷。
应用推荐