go top

有道翻译

单例设计模式

Singleton design pattern

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

双语例句

  • 比如数据库连接就是单例设计模式一个子:我们一般不想让应用程序具有连接池多个资源密集型

    An example use case for a singleton would be a database connection pool: you don't want your application to have multiple resource-intensive instances of a connection pool class.

    youdao

  • 然后展示PHP V5.3 LSB 特性给出单例活动记录设计模式

    Then it shows how PHP V5.3's LSB feature resolves those issues, while showing implementations of the singleton and active record design patterns.

    youdao

  • 模式可能常用OOP设计模式之一了;限制了一个的对象只能1

    The singleton pattern is probably one of the most often used OOP design patterns; it restricts the number of object instances of a class to one.

    youdao

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

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

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