突逆字典学

singleton

singleton
美 [ˈsɪŋɡ(ə)ltən] 英 ['sɪŋɡ(ə)ltən]
释义
  • singleton

    常考释义

    • n. 【牌】(某一花色的)单张;单元素集合
    • 网络 单例模式;单件;单件模式
    • 复数:singletons  
单词详解
  • 网络释义
1.单例模式 单例模式(singleton)顾名思义,就是只有一个实例。    作为对象的创建模式[GOF95], 单例模式确保某一个类只有一个实例,而且 …
2.单件 对于单件(Singleton)的相关概念,大家可以参考设计模式中的模式,在此仅讨论如何用 Unity 来获取单件对象。在配置文件中的 …
3.单件模式 单件模式(SINGLETON):要求一个类仅有一个实例,与此同时,提供一个全局的访问点。这意味着:一个特定的对象承担了 …
4.单态 这段单态(Singleton)模式代码是否有误?当前位置: 网站首页->C/C++->C++ 语言 -> 这段单态(Singleton)模式代码是否有 …
5.辛格尔顿     ·广义辛格尔顿(Singleton)限第46-47页   ·MDS卷积码的存在性及对偶性 第47-50页     ·MDS卷积码的存在性 第47-48页     ·MDS卷...
6.苏格登 三联生活周刊:100款你需要知道的威士忌(下) ... Suntory Yamazaki 三得利山崎 Singleton 苏格登 Suntory Hibiki 三得利响牌 ...
7.单态模式 在设计模式实现方面,如单态模式(singleton)或工厂模式(factory),方法的名字应包含模式的名字,这样名字更能描述整个行为 …
  • 英汉双解
    • 简明例句

      1.(所提及的)单项物,单个的人a single item of the kind that you are talking about

      2.单身男子(或女子)a person who is not married or in a romantic relationship

      3.(非孪生的)单生儿,单生幼畜a person or an animal that is not a twin, etc.

      收起
  • 汉英
1.【牌】(某一花色的)单张,孤张,手拿孤张的人,〈美俚〉只有一个影片的演出,独一无二的(人或物)
2.单元素集合
  • 汉汉意思
n.1.a person who is not married or is not in a romantic relationship
2.a single object of a type that sometimes comes in pairs or groups
  • 实用场景例句

The remaining alternative is to use a service locator, make it a singleton, but remove the reference cache.

剩下的一个选择是使用服务定位器使用集合的方式,但是要去除引用缓存。

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.

我同植物学家乔分伊斯辛格尔顿一起去参观了丘花园,对她来说,这有点象照常工作的例假日味道。

Since an instance of a subclass is an instance of your superclass, you could find multiple instances of the singleton.

由于子类的实例也是单例类的实例,所以可能出现多个单例实例并存的情况。

The server is a singleton object that has its own dual interface as well as a dispatch interface used for firing off events.

服务器是一个singleton对象,它具有自己的双重接口和一个用于引发事件的调度接口。使用。

As I said, after creating the singleton instance of the class, the code initializes it.

如上所述,在创建该类的单个实例后,该代码会将其初始化。

Annotation-based injection often used by JAX-RS resource classes may not be supported in the case of a singleton instance.

常被JAX-RS资源类使用的基于注释的注入可能在一个单例实例的情况内并不受支持。

The current item of the collection is bound to automatically if the target of a binding is a singleton value.

如果绑定的目标为单一实例值,则会自动绑定到集合的当前项。

This form of progesterone has previously been shown to reduce the rate of recurrent preterm birth in singleton gestations .

此类型的黄体激素之前显示可以减少单胞胎的早产风险。

The singleton exception publisher was responsible for ensuring that exceptions were reported to a single location within the system.

独立异常发布程序负责确保将异常报告给系统中某个单一的位置。

The Singleton pattern applies to situations in which there needs to be a single instance of a class.

单例模式支持那些需要只保存一个单独的实例的类。

The class acts as a singleton and the only available instance can be retrieved later through the getInstance method.

该类充当一个单例,并且是后来可通过getInstance方法来检索的唯一可用实例。

There is no doubt that a DI application is a more testable and cleaner architecture than the sprawling singleton hair-ball.

毫无疑问,使用DI的应用要比东一块西一块的单件应用有更可测、更清晰的架构。

Since there is only one singleton instance, any instance fields of a singleton will occur only once per class, just like static fields.

由于只有一个单实例,单例对象的域只会在一个类中出现一次,就像静态域一样。

The connection factory singleton could have been extended with a Runnable interface to provide a connection close on inactivity timeout.

独立连接工厂可以使用Runnable接口进行扩展,以提供基于非活动超时的连接关闭。

The change in her, she appears to be the must singleton club to join the girls can also usher in their love?

而在她变化的过程中,她这个看似一定得加入单身俱乐部的女孩又是否能迎来自己的爱情?

Most helper APIs like this one and EJB singleton session beans are great candidates for the application scope.

大多数像这样的助手类API和EJB单例会话bean都很适合于选用应用范围的作用域。

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类的静态引用。

The GameServer singleton is used for its positions array, which has the current state of each square on the game board.

GameServer单例用于它的位置数组,其中保存了游戏面板上每个格子的当前状态。

As its name suggests, the Singleton Pattern is typically used when you want only one instance of a particular class.

如其名称所暗示的,当您想要特别类的仅仅一个实例时,才使用Singleton模式。

This constitutes a "between" predicate since the self axis always evaluates to a singleton.

由于self轴始终对单个值进行计算,因此上述表达式构成了“between”谓词。

以上图片仅供学习交流使用,版权归原作者所有,如有侵权,请与我方联系

© 2024 www.dictxue.cn All Rights Reserved. 粤ICP备2023110052号-4