• It is implemented as a singleton class.

    单实例类。

    youdao

  • I suppose I'll just stay a singleton all my life!

    觉得我会一辈子保持单身

    youdao

  • This class is a singleton and cannot be created directly.

    这个唯一的,不能直接创建

    youdao

  • He was a singleton for a few years before he met his wife.

    遇到妻子之前单身好多年

    youdao

  • First, XML is a Scala object. That is, it is a singleton object.

    首先XMLScala对象,即是一个单例(singleton)对象。

    youdao

  • So, it also can be used to create a singleton instance of a class.

    因此可以用来创建一个单身实例

    youdao

  • We don't really need more than one instance here, so a singleton is fine.

    我们实际上并不需要更多实例所以单体模式不错

    youdao

  • One common use is for storing a singleton of a type that is not thread-safe.

    一种常见用法用于存储线程安全类型例。

    youdao

  • The Manager object is a singleton and is needed to create all other objects.

    Manager一个实例对象需要创建所有其他对象

    youdao

  • All calls to a singleton object are handled by one instance of that object.

    所有单一物件呼叫都是物件的一个执行个体所处理

    youdao

  • Make it a singleton and all other objects can easily find and communicate with it.

    单独所有其他对象可以很容易地找到沟通

    youdao

  • The API is straightforward: You call a singleton method and get back a connection object.

    API直观:调用单个方法返回一个连接对象。

    youdao

  • In that case, a new singleton object will be created.

    这种情况下一个新的单例对象创建

    youdao

  • This is a standard PHP singleton pattern.

    一个标准php单元素模式

    youdao

  • For example, take a look at the connection pool singleton in Listing 1.

    例如,看一下清单1所示的这个连接单例

    youdao

  • If we follow a straight singleton pattern for PoIdGenerator, this can be problematic.

    如果我们使用PoIdGenerator直接单一模式,可能出现问题

    youdao

  • Now, when you add a new file to your project, "Singleton" should be an option.

    现在添加新的文件项目中,“单身应该选择

    youdao

  • Singleton: one instance of a class or one value accessible globally in an application.

    例:保证仅有实例,并提供一个访问全局访问点。

    youdao

  • Singleton: one instance of a class or one value accessible globally in an application.

    例:保证仅有实例,并提供一个访问全局访问点。

    youdao

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

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

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