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

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

    youdao

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

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

    youdao

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

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

    youdao

  • As a result, instance is now non-null and refers to a valid Singleton object.

    结果instance现在为非null引用一个有效Singleton对象

    youdao

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

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

    youdao

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

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

    youdao

  • Lines CA and D0 represent the inline constructor storing the values true and 5 into the Singleton object.

    CAd0行表示内联的构造函数,该构造函数将true5存储Singleton对象

    youdao

  • This line of code creates a Singleton object and initializes the variable instance to refer to this object.

    此行代码创建了一个Singleton对象初始变量instance引用对象。

    youdao

  • When the first thread exits the synchronized block, the waiting thread enters and creates another Singleton object.

    第一线程退出synchronized时,等待着的线程进入创建另一个Singleton对象

    youdao

  • The code at BE allocates the memory from the heap for the Singleton object and stores a pointer to that memory in eax.

    be代码Singleton对象分配内存一个指向该块内存的指针存储到eax中。

    youdao

  • This line is supposed to ensure that instance will only ever be null or refer to a fully constructed Singleton object.

    此行应该确保instance只为null引用一个构造完整Singleton对象

    youdao

  • Thread 1 completes the initialization of the Singleton object by running its constructor and returns a reference to it.

    线程1通过运行Singleton对象构造函数引用返回,来完成该对象的初始化。

    youdao

  • Because it is not, thread 2 returns the instance reference to a fully constructed, but partially initialized, Singleton object.

    因为实例为null,线程2将instance引用返回一个构造完整部分初始化了的Singleton对象。

    youdao

  • Instead, Scala supports a singleton object construct to support those cases where exactly one instance of a type is needed.

    相反Scala支持单例模式,可以应用于那些类型只有实例情况

    youdao

  • Now, we can call the reset method to start off each test run to ensure we are going through the initialization code for the singleton object on every test run.

    现在我们可以每次测试之前调用reset方法保证我们在每次测试过程都会执行singleton对象初始化代码

    youdao

  • To wit, compiler optimizations can make the assignment of the new singleton object before all its fields are initialized. (See "Double-checked locking is broken" in Resources.)

    为了更加智能化编译器优化对象所有完全初始化前就创建单例对象(参见重复检查锁的致命点》)。

    youdao

  • This class provides a set of classes, or a set of singleton object instances, that include all of the root-level resources and providers (classes annotated with @Provider) in a JAX-RS application.

    此类提供一组单singleton对象实例一个 JAX-RS 应用程序内包括所有根级别资源提供程序(由 @Provider注释的类)。

    youdao

  • The instance fields of the singleton will not be globally unique. Because several VMs are involved for what appears to be the same object, several singleton objects might be brought into existence.

    原因在于多个虚拟机可以涉及相同实例类,这些单实例对象可能会同时存在于上下文中,从而导致这些单实例对象不是全局唯一的

    youdao

  • Singletonreturns reference to the single instance of the delegate object.

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

    youdao

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

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

    youdao

  • In the constructor of StockQuoteGenerator class, which is a singleton class, we are starting a new thread and assigning a Runnable object to that thread.

    stockquotegenerator(个单态)构造函数中,我们启动了一个线程线程分配了一个Runnable对象

    youdao

  • You will design the object as a singleton (this design pattern will limit this object to a single instance) and have the appropriate retrieve and store methods to manipulate the cache.

    对象设计个单子实例singleton)(这个设计模式将把这个对象限制一个单个实例中)使用合适的检索存储方法对高速缓存进行操作

    youdao

  • Instead you can define some as an object (instead of a class) and it becomes a singleton instance of the class.

    相反可以定义对象(而不是)并且将成为单例实例

    youdao

  • This singleton is the root management object that starts and stops all other management tasks.

    这个单实例对象用户管理对象启动停止所有其他管理任务

    youdao

  • Both UI components and the Application object (which is a singleton) can receive system events.

    UI组件应用对象(一个单例)都能收到系统事件

    youdao

  • With all those mechanisms, a reconstituted object loses its referential identity, and you have to consider carefully whether your singleton is still a singleton.

    使用这些序列化机制时,重建的对象将失去原对象的相关标识,所有必须特别注意例对象是否依然单例的。

    youdao

  • In order to reduce memory usage, the resource bundle object is static and singleton.

    为了减少内存使用资源对象静态单一的。

    youdao

  • The singleton provides us with the means to store another object that is used for the aggregation done in each UDF in the SQL statement.

    单件我们提供了种可以SQL 语句一个UDF 进行聚集计算时需要的数据存储另外对象当中的方式

    youdao

  • The singleton pattern can be used to delay the initialization of an object as long as possible.

    元素模式可以用来尽可能延迟对象初始化

    youdao

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

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

    youdao

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

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

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