- 重点词汇
- 相关例句
介绍了遗传程序设计的一般步骤,根据设计模式中的简单工厂模式,提出了一种通用的程序树描述方法,针对这种描述方法给出相应的算法。
互联网摘选
在数据连接管理层中,作者研究了创建型模式中简单工厂方法模式Factory Method的应用环境、应用方法,利用该模式解决与异构数据库连接的问题。
互联网摘选
文中的例子给出了一个client和一个server bundle(两者在同一个VM中),client通过工厂方法找到server。
互联网摘选
可选的:创建单元测试以确保原始目标对象的工厂方法仍返回正确的非模仿对象。
互联网摘选
接着具体讲述了组件对象模型中使用的两种设计模式:工厂方法模式和代理模式。
互联网摘选
在您生成代码并检查之前,要知道您也需要为Factory方法模式添加适当的方法。
互联网摘选
用这种方式,静态工厂方法返回的对象可以实现建立代理时所定义的任意数量的接口。
互联网摘选
设计模式中的工厂方法模式为系统结构提供了非常灵活强大的动态扩展机制,采用。
互联网摘选
In other words, Factory Method lets a class defer the instantiation to its subclasses.
换句话说,Factory方法令一个类实例化到其子类。
互联网摘选
使用父类的需求在Java语言中经常出现,特别是在使用了Factory Method模式的情况下。
互联网摘选
而工厂方法模式,顾名思义,定义的是一个用来大量产出对象的方法的实现。
互联网摘选
要创建Factory方法模式的实例,执行同Singleton模式相同的步骤。
互联网摘选
您可以在应用程序需要创建其类型依赖于子类的实现的对象时,使用工厂方法模式。
互联网摘选
Factory Method is a structural pattern that lets a class defer instantiation to subclasses.
工厂方法(Factory Method)是一种结构模式,它使一个类延迟实例化到子类。
互联网摘选
该工厂方法通过将这项工作委托给服务层来实例化课程对象集合。
互联网摘选
本节将循序渐进地描述“抽取”和“覆盖”工厂方法重构。
互联网摘选
Some of the more common ones, like Factory Method, are ubiquitous, even in the Java language itself.
一些更为通用的方式,如工厂方法则是普便存在的,甚至存在于Java语言本身。
互联网摘选
Assure that the factory method is accessible to the target object and its subclasses.
确保目标对象及其子类可以访问工厂方法。
互联网摘选
The class returned by the factory method is an adapter to a particular cloud service.
工厂方法返回的类用于一个特定于服务的适配器。
互联网摘选