What is the translation of " THE SINGLETON " in Chinese?

[ðə 'siŋgltən]
Noun
[ðə 'siŋgltən]

Examples of using The singleton in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
The Singleton Family.
辛格尔顿家族FAMILY.
On design patterns: When should I use the singleton?
关于设计模式:我应该什么时候使用单例??
The Singleton Park Campus.
单身公园园区的.
Our chemistry postgraduate open days take place at the Singleton Park Campus.
我们的化学研究生开放日发生在公园校区。
The Singleton seems to be more of a hardship.
实现Singleton看上去是比较麻烦的。
People also translate
Let's start at the basics with the simplest of all design patterns: the Singleton.
让我们从最简单的设计模式开始:singleton
You will pass the Singleton Army Base on your left hand side.
Singleton陆军基地就在您的左手边。
As shown with BorderFactory,the Factory pattern does not have to be used with the Singleton pattern.
就像刚才在BorderFactory说的那样,Factory模式不一定要和Singleton模式一块使用。
By changing to the Singleton pattern, you avoid recreating the same object.
通过改造成Singleton模式,你可以避免重复创建相同的对象。
The engine should prevent more than one instance of a director to be created andit does so through the Singleton Design Pattern.
引擎应该阻止创建一个以上的导演类的实例,通过单例设计模式来实现。
Identifying the need for the Singleton pattern at design time can simplify development.
在设计的时候为Singleton模式明确需要可以简化日后的开发。
Tŷ Beck consists of six large Victorian town houses situated in the Uplands area of Swansea,approximately a mile from the Singleton campus.
BeckHouse,六个大型的维多利亚式别墅,坐落在斯旺西的高地地区,距Singleton校园大约1英里。
In my last blog post article I discussed the Singleton Design Pattern and how it is used in JavaScript.
在上一篇博客中我讨论了单例模式以及如何在JavaScript中使用它。
To get the Singleton factory, you call the getSharedInstance() method of PopupFactory:.
要得到Singleton的工厂,你可以调用PopupFactory的getSharedInstance()方法:.
If you can answer"yes" to thequestions below regarding your specific use case, the singleton pattern can yield some practical benefits.
如果您可以对以下有关特定用例的问题回答“是”,则单例模式可以带来一些实际好处。
And this way the Singleton class is loaded, and the instance is not necessarily initialized.
而这种方式是Singleton类被装载了,instance不一定被初始化。
Later, in Chapter 21, I show you how to do this,using the Singleton pattern and the Double-Checked Locking pattern.
随后,在21章,我们将学习如何通过使用Singleton模式和Double-CheckedLocking模式来实现这个功能。
To maintain the singleton guarantee, declare all instance fields transient and provide a readResolve method.
为了维护并保证Singleton,必须声明所有实例域都是瞬时(transient)的,并提供一个readResolve方法。
In languages, such as C++, other classes could delete the object instance,but doing so would lead to a dangling reference inside the Singleton class.
在某些语言中(如C++),其他类可以删除对象实例,但这样会导致Singleton类中出现悬浮引用。
Item 3 describes the Singleton pattern and gives the following example of a singleton class.
第3项描述了Singleton模式,并给出了单例类的以下示例。
If the Elvis class is made to implement Serializable,the following readResolve method suffices to guarantee the singleton property:.
如果Elvis类用于实现Serializable,则以下read-Resolve方法足以保证singleton属性:.
Under this perspective, the singleton pattern is just a kind of service locator, e.g. Model. getInstance().
从这个角度来看,单例模式只是一种服务定位器,例如Model.getInstance()。
If separate threads of execution enter the Instance property method at the same time,more that one instance of the Singleton object may be created.
如果执行过程的不同线程同时进入Instance属性方法,那么可能会创建多个Singleton对象实例。
In this case, managing the singleton with modules like Cache::FastMemoryCache from CPAN may make more sense.
在这时候,用CPAN上的Cache::FastMemoryCache管理singleton可能更有意义。
Separating the abstract concept from a particular implementation, as this patterns collection does,may make the Singleton implementation look surprisingly simple.
正如该模式集合所做的那样,将抽象的概念与特定的实现分隔开来可能会使Singleton实现看起来非常简单。
The singleton pattern isn't one of the most widely used ones, but we're starting here because it's relatively easy to grasp.
单例模式并不是最广泛使用的模式之一,但是我们从它开始是因为它相对容易掌握。
It still addresses the two basic problems that the Singleton pattern is trying to solve: global access and instantiation control.
它仍然可以用来解决Singleton模式试图解决的两个基本问题:全局访问和实例化控制。
To maintain the singleton guarantee, you have to declare all instance fields transient and provide a readResolve method(Item 77).
为了维护并保证Singleton,必须声明所有实例域都是瞬时(transient)的,并提供一个readResolve方法。
Singleton prevents other objects from instantiating their own copies of the Singleton object, ensuring that all objects access the single instance.
实例控制:Singleton会阻止其他对象实例化其自己的Singleton对象的副本,从而确保所有对象都访问唯一实例.
It is most often the case that the singleton should also be globally accessible, and this is achieved by making the creation method public.
多数情况下,singleton应该具有全局可见性,这可通过将其创建方法public来实现。
Results: 41, Time: 0.0263

Word-for-word translation

Top dictionary queries

English - Chinese