1、

These are defined as singleton and prototype.

这些都在单例模式和原型模式中定义了。

互联网摘选

2、

In the program the author apply observer pattern, composite pattern, factory pattern and singleton pattern.

在系统中使用了观察者模式、合成模式、简单工厂模式和单例模式。

互联网摘选

3、

An example use case for a singleton would be a database connection pool: You don't want your application to have multiple resource-intensive instances of a connection pool class.

比如数据库连接池就是单例设计模式的一个例子:我们一般不想让应用程序具有连接池类的多个资源密集型实例。

互联网摘选

4、

You use this function to initialize static variables, enforce the singleton pattern, or perform any other necessary work before a class is usable.

你可以用这个函数来初始化静态成员变量,强制使用单例模式,或者实现其它任何在类型的实例可用前应该完成的工作。

互联网摘选

5、

This is a class that can be used repeatedly to instantiate a class as a singleton without having to re-write the singleton pattern code for that specific class.

这是一个可用来创建单例类实例确不需要为每个特定的类重写单例模式代码的可重用的类。

互联网摘选

6、

Using some excellent designs patterns in the design, such as factory model, proxy pattern and singleton pattern.

同时,在设计体系架构时,使用了一些优秀的设计模式,如工厂模式,代理模式、单例模式等。

互联网摘选

7、

The singleton pattern is baked directly into Scala and is used anywhere you would use static methods or variables in the Java language.

单例模式被直接内置在Scala中,可以替代Java语言中的静态方法或变量。

互联网摘选

8、

The access layer on knowledge repository was designed with variety design patterns: adapter pattern, Singleton pattern, observer pattern, decorative pattern, proxy pattern and synthetic pattern.

本文知识库访问层设计中采用多种设计模式:适配器模式、单例模式、观察者模式、装饰模式、代理模式及合成模式。

互联网摘选

9、

Another core difference between JumpShip and other MVC frameworks is its conscious effort not to rely on the Singleton pattern as an easy way to create references to other classes.

JumpShip和其他MVC框架之间另一个主要区别在于JumpShip在生成对其他类的引用时有意不依赖于单例(Singleton)模式这种简单方式。

互联网摘选

10、

It is my true belief that Singleton patterns have been used with far too little thought in most frameworks.

我坚信,在大多数的框架中,使用单例模式时,考虑得都太少了。

互联网摘选

11、

They also explore problems with common idioms such as the static singleton anti-pattern and solutions using dependency injection, and examine scopes for web applications and other purposes.

5-6章还探究了一些常见问题例如静态单例反模式以及使用依赖注入的解决方案,并调查了web应用和其它应用的范围。

互联网摘选

12、

This paper proposes a new pricing model for convertible bonds based on the credit risk model proposed by Duffie and Singleton ( 1999).

基于Duffie和Singleton(1999)的信用风险模型,提出了一种新的可转换债券定价模型。

互联网摘选

13、

To create an instance of the Factory Method Pattern, perform the same steps as for the Singleton Pattern.

要创建Factory方法模式的实例,执行同Singleton模式相同的步骤。

互联网摘选

14、

It is often seen as an antidote for many of the problems that using Singleton brings in its wake ( and, as an aside, Singleton was one pattern we did_not_include in the book:->).

它常常被视为使用Singleton之后带来的许多问题的解毒剂(并且,作为题外话,Singleton是我们没有包含在本书中的一个模式:->)。

互联网摘选

15、

Doing so creates an instance of the Singleton Pattern in the Model Explorer.

执行此操作将会在模型浏览器中生成一个Singleton模式的实例。

互联网摘选

16、

Singleton pattern makes construction method of the class protected, and ensures only one instance to be created.

Singleton模式把类的构造方法隐藏在静态方法后面,保证系统中仅有1个类的实例被创建。

互联网摘选

17、

The singleton pattern can be used to delay the initialization of an object as long as possible.

单元素模式可以用来尽可能久地延迟对象的初始化。

互联网摘选

18、

Create a private attribute for the Singleton Pattern called_instance.

为Singleton模式创建私有属性,称为instance。

互联网摘选

19、

The framework adopts object broker in singleton pattern to implement data access, effectively enhances the efficiency of connection;

框架采用了单实例的对象代理来实现数掘访问,有效地提高了连接操作的效率;

互联网摘选

20、

Methods: To analyse the CST score and abnormal types of fetal heart rate patterns in 1 146 cases of singleton term pregnancy with head delivery.

方法:分析1146例足月、单胎、头位分娩的产妇产程中CST评分和异常胎儿监护图形。

互联网摘选

  • 今日热词
  • 热门搜索

英语网英语词典(dict.25820.com)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈