• It is implemented as a singleton class.

    它是一个单实例类。

    youdao

  • This is a standard PHP singleton pattern.

    这是一个标准的php单元素模式。

    youdao

  • The Singleton pattern is shown in Figure 5.

    Singleton模式如图5所示。

    youdao

  • Returns the singleton application instance.

    返回应用程序单例对象。

    youdao

  • Another option is to use Singleton pattern.

    另一个选择是使用单例模式。

    youdao

  • Are you sure you need the singleton interface?

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

    youdao

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

    我觉得我会一辈子保持单身。

    youdao

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

    在这种情况下,一个新的单例对象会被创建。

    youdao

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

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

    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

  • How to run test cases for Singleton object with multiple state?

    如何运行多个状态对象的测试用例?

    youdao

  • Well-known object types can be either single call or singleton.

    已知物件型别可以是单一呼叫或单一物件。

    youdao

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

    因此,它也可以用来创建一个类的单身实例。

    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

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    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

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

    现在,当你添加一个新的文件到项目中,“单身”应该是一种选择。

    youdao

  • Singleton is bit complex, but it plays very important role in game development.

    单例模式有点复杂,但它在游戏开发中非常有用。

    youdao

  • Singleton is bit complex, but it plays very important role in game development.

    单例模式是一个非常复杂的 问题。

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

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