go top

the singleton pattern

网络释义

  单例模式

The Singleton Pattern(单例模式)学习问题 在许多场合,我们希望某个类只能有一 个实例。因为如果该类有多个实例同时 存在可能会导致一些问题的出现。

基于14个网页-相关网页

  单件模式

... 适配器模式 The Adapter Pattern 单件模式 The Singleton Pattern 工厂方法模式 The Factory Method Pattern ...

基于4个网页-相关网页

短语

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

有道翻译

the singleton pattern

单例模式

以上为机器翻译结果,长、整句建议使用 人工翻译 。

双语例句

  • 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

  • Unless the Settings wrapper class is designed using the singleton pattern, there can be multiple instances of the same application Settings class in a single application.

    除非使用单一实例模式来设计设置包装类,否则单个应用程序中可能存在同一个应用程序设置类的多个实例。

    youdao

  • The Singleton pattern is shown in Figure 5.

    Singleton模式如图5所示。

    youdao

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

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

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