singleton
英音[ ˈsɪŋɡltən ] 美音[ ˈsɪŋɡltən ]

单例

常用释义

词性释义

n.

单独的人(或物体);单生子女,单生幼畜;单身的人;(纸牌戏,尤指桥牌)单张;单元(素)集

n.

(Singleton)(美)辛格尔顿(人名)
例句
  • 全部
  • 单例
  • 单件
1·Instead you can define some as an object (instead of a class) and it becomes a singleton instance of the class.
相反您可以定义一个对象(而不是类)并且它将成为类的一个单例实例。
2·Through this functionality, you can use the popular singleton pattern.
通过使用这种功能,您可以使用流行的单例模式。
3·In that case, a new singleton object will be created.
在这种情况下,一个新的单例对象会被创建。
4·Therefore, use of a singleton instance for JAX-RS resources should be avoided unless carefully planned.
因此,除非仔细计划,否则应该避免使用JAX - RS资源的单例实例。
5·Both UI components and the Application object (which is a singleton) can receive system events.
UI组件和应用对象(这是一个单例)都能收到系统事件。
1·The only other method (set in italics) in the class is used to get a reference to the singleton and to create it if it is not yet instantiated.
该类中仅剩的另一个方法(用斜体标识)用于获取该单件的一个引用,如果尚未实例化则创建它。
2·The first component to move towards the service locator design, and away from its singleton origins, is the one that depends on no other singletons, yet may be depended by other singletons.
迈向服务定位器设计、摆脱单件血统的第一个组件是不依赖于其它单件、但被其它单件依赖的组件。
3·Also does the DI container get populated with the results of singleton lookups initially, with TODO comments promising a revisit later?
抑或是先用单件查找的结果填充DI容器,写上TODO注释表示以后再完善吗?
网络释义

单例模式

单例模式(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),方法的名字应包含模式的名字,这样名字更能描述整个行为 …
同义词
n.
一个;独身
同根词 (词根singleton)
singleness n 单一;独身;真诚;专心
更新时间:2025-05-01 10:00