singleton

美 [ˈsɪŋɡ(ə)ltən]英 ['sɪŋɡ(ə)ltən]
  • n.【牌】(某一花色的)单张;单元素集合
  • 网络单例模式;单件;单件模式

复数:singletons

singletonsingleton

singleton

n.

单例模式

单例模式(singleton)顾名思义,就是只有一个实例。    作为对象的创建模式[GOF95], 单例模式确保某一个类只有一个实例,而 …

单件

对于单件(Singleton)的相关概念,大家可以参考设计模式中的模式,在此仅讨论如何用 Unity 来获取单件对象。在配置文件中的 …

单件模式

单件模式SINGLETON):要求一个类仅有一个实例,与此同时,提供一个全局的访问点。这意味着:一个特定的对象承担了 …

单态

这段单态Singleton)模式代码是否有误?当前位置: 网站首页->C/C++->C++ 语言 -> 这段单态(Singleton)模式代码是否有 …

辛格尔顿

    ·广义辛格尔顿(Singleton)限第46-47页   ·MDS卷积码的存在性及对偶性 第47-50页     ·MDS卷积码的存在性 第47-48页     ·MDS卷...

苏格登

三联生活周刊:100款你需要知道的威士忌(下) ... Suntory Yamazaki 三得利山崎 Singleton 苏格登 Suntory Hibiki 三得利响牌 ...

单态模式

在设计模式实现方面,如单态模式(singleton)或工厂模式(factory),方法的名字应包含模式的名字,这样名字更能描述整个行为 …

1
The remaining alternative is to use a service locator, make it a singleton, but remove the reference cache. 剩下的一个选择是使用服务定位器使用集合的方式,但是要去除引用缓存。
2
I went and had a look round Kew Gardens with the botanist Joyce Singleton; it was a bit of a busman 's holiday for her. 我同植物学家乔分伊斯辛格尔顿一起去参观了丘花园,对她来说,这有点象照常工作的例假日味道。
3
Since an instance of a subclass is an instance of your superclass, you could find multiple instances of the singleton. 由于子类的实例也是单例类的实例,所以可能出现多个单例实例并存的情况。
4
The server is a singleton object that has its own dual interface as well as a dispatch interface used for firing off events. 服务器是一个singleton对象,它具有自己的双重接口和一个用于引发事件的调度接口。使用。
5
As I said, after creating the singleton instance of the class, the code initializes it. 如上所述,在创建该类的单个实例后,该代码会将其初始化。
6
Annotation-based injection often used by JAX-RS resource classes may not be supported in the case of a singleton instance. 常被JAX-RS资源类使用的基于注释的注入可能在一个单例实例的情况内并不受支持。
7
The current item of the collection is bound to automatically if the target of a binding is a singleton value. 如果绑定的目标为单一实例值,则会自动绑定到集合的当前项。
8
This form of progesterone has previously been shown to reduce the rate of recurrent preterm birth in singleton gestations . 此类型的黄体激素之前显示可以减少单胞胎的早产风险。
9
The singleton exception publisher was responsible for ensuring that exceptions were reported to a single location within the system. 独立异常发布程序负责确保将异常报告给系统中某个单一的位置。
10
The Singleton pattern applies to situations in which there needs to be a single instance of a class. 单例模式支持那些需要只保存一个单独的实例的类。
11
The class acts as a singleton and the only available instance can be retrieved later through the getInstance method. 该类充当一个单例,并且是后来可通过getInstance方法来检索的唯一可用实例。
12
There is no doubt that a DI application is a more testable and cleaner architecture than the sprawling singleton hair-ball. 毫无疑问,使用DI的应用要比东一块西一块的单件应用有更可测、更清晰的架构。
13
Since there is only one singleton instance, any instance fields of a singleton will occur only once per class, just like static fields. 由于只有一个单实例,单例对象的域只会在一个类中出现一次,就像静态域一样。
14
The connection factory singleton could have been extended with a Runnable interface to provide a connection close on inactivity timeout. 独立连接工厂可以使用Runnable接口进行扩展,以提供基于非活动超时的连接关闭。
15
The change in her, she appears to be the must singleton club to join the girls can also usher in their love? 而在她变化的过程中,她这个看似一定得加入单身俱乐部的女孩又是否能迎来自己的爱情?
16
Most helper APIs like this one and EJB singleton session beans are great candidates for the application scope. 大多数像这样的助手类API和EJB单例会话bean都很适合于选用应用范围的作用域。
17
Most caches are implemented using the Singleton pattern involving a static reference to a top level Cache class as shown in this example. 使用Singleton模式实现的大多数缓存都涉及本例所示的对顶级Cache类的静态引用。
18
The GameServer singleton is used for its positions array, which has the current state of each square on the game board. GameServer单例用于它的位置数组,其中保存了游戏面板上每个格子的当前状态。
19
As its name suggests, the Singleton Pattern is typically used when you want only one instance of a particular class. 如其名称所暗示的,当您想要特别类的仅仅一个实例时,才使用Singleton模式。
20
This constitutes a "between" predicate since the self axis always evaluates to a singleton. 由于self轴始终对单个值进行计算,因此上述表达式构成了“between”谓词。
21
In regular expressions, a normal character is an atom that denotes the singleton set of strings containing only itself. 在正则表达式中,一个常规字符是一个原子,它表示只包含其自身的单字符串集。
22
Under the relaxation he seeks, couples would be allowed an extra child if only one parent were a singleton, not both. 在他所寻求的宽松政策中,允许父母双方只有一个是独生子女,而不是夫妇双方都是独生子女的夫妇生养另外一个孩子,。
23
Or how do fridge microbes of an urban singleton stack up with those of a suburban family? 城里冰箱里的单个的细菌是怎样和郊区家庭里的细菌堆积联系起来的?
24
Volunteers will visit the singleton elderly in the Kwun Tong District at least once every two months for one year . 各组义工将于未来一年内,最少每两个月探访观塘区的独居长者一次。
25
The singleton pattern can be used to delay the initialization of an object as long as possible. 单元素模式可以用来尽可能久地延迟对象的初始化。
26
That to say, the couple has responsibility recommending their singleton in the party. 也就是说,参加的夫妻或情侣有义务向大家推荐自己的单身朋友。
27
Implement it using a centralized configuration singleton, which you can configure with a properties file. 使用一个集中的配置singleton来实现它,对于这个singleton,可以使用一个属性文件进行配置。
28
The singleton instance serves concurrent requests using multithreading, so it has to be thread-safe. singleton实例使用多线程服务并发请求,因此它必须是线程安全的(thread-safe)。
29
Instead, Scala supports a singleton object construct to support those cases where exactly one instance of a type is needed. 相反,Scala支持单例模式,可以应用于那些一种类型只有一个实例的情况。
30
Singleton mode provides a shared instance of the object with a particular name, which will be retrieved on lookup. 单态模型提供了具有特定名称的对象的共享实例,可以在查询时对其进行检索。