前-LSB 的创建型设计模式实现问题
Wikipedia提供了对创建型设计模式的很好的描述和背景知识。
Wikipedia provides a good description and background for creational design patterns.
有两个创建型的向导,Model向导和UML Model 向导。
There are now two wizards for creating models, the Model wizard and the UML Model wizard.
单例、生成器和工厂方法设计模式被视为是创建型的模式,因它们可协助对象的构建。
The singleton, builder, and factory method design patterns are considered creational patterns, as they assist in the construction of objects.
作为我自己的这家社会型企业的创建者,没有老板来问我的工作效果或者给我设定做事的最后期限。
As the founder of my own social enterprise I had no boss questioning the quality of my work or insisting I stick to deadlines.
另外一家则是资历要短许多的桑德勒·奥尼尔投资银行,1988年创建,业务集中在为其他经济型公司提供咨询和资金筹集上。
Another member of the club is the much younger Sandler o 'neill, founded in 1988, which focuses on advising and raising capital for other financial firms.
利用泛型创建集合框架。
然后创建一个名为 secondDecision的布尔型变量,并将其设置为SecondApprovalTask的输出参数,如图11 所示。
Then create a boolean variable named secondDecision and set it as the output parameter of SecondApprovalTask, as shown in Figure 11.
为C手工创建必需的元类,可以避免元型冲突
The metatype conflict can be avoided by manually creating the needed metaclass for C
它为创建新的记录型,定制工作流程,用户界面,以及注释提示了广泛的支持功能。
It provides extensive support for creating new record types, and customization of workflows, user interfaces, and notifications. You decision depends on your situation.
例如,泛型类JSplitPane可以创建Scrollable的实例。
For example, a generic class JSplitPane may create an instance of Scrollable.
答案取决于这样的事实,您常常需要创建泛型库,以及对于某些具体类型,您希望避免泛型行为和拥有特殊化的实现。
The answer lies in the fact that you often need to create generic libraries, and for some specific types, you want to avoid the generic behavior and have a specialized implementation.
这里创建了一个泛型的MIME对象,尽管我们仅在上传时使用它。
A generic MIME object is created, although we will only use it for uploads.
本文的下载小节包含一个db2脚本,该脚本创建必要的操作型(源)表和数据仓库(目标)表。
The Downloads section of this article contains a DB2 script that creates the necessary operational (source) table and data warehouse (target) tables.
定义了模式之后,我们现在可以创建一个关系型DAS的实例。
Having defined the model, we can now create an instance of the Relational DAS.
我们的方法统一了创建和访问业务逻辑的范型。
Our approach unifies the paradigm for creating and accessing business logic.
创建一个关系型DAS实例:创建关系型DAS的一个重要方面是描述它应使用的数据库架构。
Create a Relational DAS instance: an important aspect of creating the Relational DAS is describing the database schema it should use.
在更大的范围内,实际上事务型应用程序也常常创建一些 “一次性使用、用完作废” 的对象组。
On a larger scale, applications that are transactional in nature also tend to create groups of objects that are used and discarded together.
您可以在服务器端采用目录结构,在客户端创建一个树型表示。
You are taking the directory structure represented on the server and creating a tree representation on the client.
他说,在网上寻找创建抛物型或者激光麦克风所需的操作指南是件非常容易的事情。
He says it is quite simple to find the instructions needed to build a parabolic or laser microphone on the web.
SOA编程模型同样需要统一的范型来创建和访问业务逻辑。
The SOA programming model also needs a unified paradigm for creating and accessing business logic.
通过使用混合型云,组织可以先判断要创建的服务的目标和需求,然后以最合适的方式获得它们。
Using a hybrid cloud, organizations can determine the objectives and requirements of the services to be created and obtain them based on the most suitable alternative.
不过,所使用的样式与是否创建松散类型或泛型的接口没有任何关系。
However, the style you use has nothing to do with whether you create a loosely typed or generic interface or not.
相比之下,事务型应用程序不断创建并启用对象组。
By contrast, a transactional application is continually creating and discarding groups of objects.
运行时缺乏类型信息,这给泛型容器类和希望创建保护性副本的泛型类提出了难题。
This lack of type information at runtime poses a problem for generic container classes and for generic classes that want to make defensive copies.
倘若HTML5服务不够,还有一些工具包,支持您创建混合型应用程序。
When HTML 5 services are not enough, there are toolkits that enable you to create hybrid-based applications.
接下来可以使用标准的图型工具创建概要文件元素:图形面板、模型助手、操作工具栏和弹出菜单。
Profile elements can be then created using standard diagram tools: diagram palette, modeling assistant, action bar, and pop-up menu.
为此,您可以创建滚动不敏感型游标,如 清单4 所示。
To do that, you can create a scroll-insensitive cursor, as seen in Listing 4.
关系型DAS采用此架构并使用它定义可以创建的服务数据对象的模式。
The Relational DAS will take this schema and use it to define the model for the Service Data Objects it can create.
如果翻转这个范型,就会创建一种很不自然的从右向左的形式(参见图4)。
If you flip this paradigm, you create an unnatural right-to-left movement (see Figure 4).
应用推荐