• The Singleton pattern is shown in Figure 5.

    Singleton模式如图5所示。

    youdao

  • Returns the singleton application instance.

    返回应用程序单例对象。

    youdao

  • Are you sure you need the singleton interface?

    你确定你需要单独的接口?

    youdao

  • It is actually the real name of the singleton instance of the Unit type!

    事实上这是Unit类型单体实例的真正名字!

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

    Manager是一个单实例对象,需要它来创建所有其他对象。

    youdao

  • Singleton — returns reference to the single instance of the delegate object.

    Singleton——返回对委托对象单个实例的引用。

    youdao

  • Singleton is the default and most often used object mode.

    Singleton是默认的也是最常用的对象模型。

    youdao

  • The design of this class ensures that only one Singleton object is ever created.

    此类的设计确保只创建一个Singleton对象。

    youdao

  • Finally, the application of singleton pattern is depicted in this system.

    最后,描述了单体模式在系统中的应用。

    youdao

  • So with this class we can makeany class singleton, without duplicating the code.

    使用这个类,不需要复制代码就可以实现任意类单例化。

    youdao

  • So with this class we can makeany class singleton, without duplicating the code.

    使用这个类,不需要复制代码就可以实现任意类单例化。

    youdao

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

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

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