go top

singleton pattern

  • 单例模式:一种创建型设计模式,限制一个类的实例化为一个对象。

网络释义专业释义英英释义

  单例模式

...摘要:单例模式 单例模式(Singleton Pattern)是一种常用的软件设计模式,该模式的主要目的是确保某一个类只有一个实例存在。

基于29个网页-相关网页

  单件模式

...创建型模式---单件模式(Singleton Pattern) 动机(Motivation): 在软件系统中,经常有这样一些特殊的类,必须保证它们在系统中只存在一个实例,才能确保它们的逻辑正确性、...

基于16个网页-相关网页

短语

The Singleton Pattern 单例模式 ; 单件模式

Singleton Design Pattern 单态设计模式 ; 单例模式

Responsibility and the Singleton Pattern 责任制和单一模式

Design Pattern Singleton 单一模式

 更多收起网络短语
  • 单例模式 - 引用次数:8

    Nowadays there are lots of patterns, such as the singleton pattern, factory pattern, etc.

    现在总结出很多模式,例如:单例模式,工厂模式等。

    参考来源 - Java EE模式框架在中小企业Web实施应用中的研究

·2,447,543篇论文数据,部分数据来源于NoteExpress

Singleton pattern

  • abstract: In software engineering, the singleton pattern is a design pattern that restricts the Instantiation of a class to one object. This is useful when exactly one object is needed to coordinate actions across the system.

以上来源于: WordNet

双语例句

  • Through this functionality, you can use the popular singleton pattern.

    通过使用这种功能,您可以使用流行的单例模式。

    youdao

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

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

    youdao

  • To facilitate this, the plug-in class implements the singleton pattern: It stores a reference to itself in a private class variable.

    为了使这一点更方便,插件类实现单模式(singleton pattern):它在私有类变量中存储一个自身的引用。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定