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

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

    youdao

  • 可以调用静态方法一样访问对象的方法。

    You can access methods on singleton objects similar to how you would call static methods.

    youdao

  • 多个单例对象存在两个多个虚拟中。

    Multiple singletons in two or more virtual machines.

    youdao

  • 多个单例对象不同加载同时加载

    Multiple singletons simultaneously loaded by different class loaders.

    youdao

  • 返回应用程序单例对象

    Returns the singleton application instance.

    youdao

  • 一个对象函数,对外提供特定功能

    Angular services are singletons objects or functions that carry out specific tasks common to web apps.

    youdao

  • 例对象垃圾回收机制回收然后单例又被重新加载

    Singleton classes destroyed by garbage collection, then reloaded.

    youdao

  • Singletonbean一个所属容器上下文中的例对象

    A singleton bean is a singleton in the context of the owning container.

    youdao

  • 构造方法运行同时,恰好被另一线程访问两个例对象创建

    Two singletons will be created if the constructor runs and simultaneously another thread calls the method.

    youdao

  • 更有甚者,例对象能够状态化;这样它们可以作为一个状态仓库外提供服务

    Moreover, singletons can be stateful; in this case, their role is to serve as a unique repository of state.

    youdao

  • 所以如果两次序列化一个单例对象序列化得到的对象会持有两个不同标识

    So if you serialize one singleton twice, the two serialized objects take on separate identities.

    youdao

  • 对象被当着垃圾回收然后单例又被重新加载,一个新的单例对象创建

    When a singleton class is garbage-collected and then reloaded, a new singleton instance is created.

    youdao

  • Ext名称空间全局对象封装了Sencha类提供所有单例对象实用方法

    The Ext namespace (global object) encapsulates all classes, singletons, and utility methods provided by Sencha's libraries.

    youdao

  • 前面已经地介绍了单例模式实现方式现在我们进入主题:两个例对象如何同时存在

    Now that we've looked briefly at implementation, let's turn to the heart of this article: how two singletons can exist simultaneously.

    youdao

  • 通常我们喜欢使用portlet服务,而不喜欢用惯用的对象例对象,这是因为

    Generally, we prefer using portlet services over more traditional objects, such as singletons, because.

    youdao

  • 篇文章讲解了几种产生多个例对象情况,如果发现其他的情况,非常乐意听到它们

    In this article, I've presented some ways that the multiple singleton might emerge. If you've discovered any others, I'd be interested in hearing about them.

    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

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

    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

  • 由于单例对象作为存在而不是静态成员,所以能够惰性初始例对象,即需要在第一次时候去创建它。

    With singletons implemented as single instances instead of static class members, you can initialize the singleton lazily, creating it only when it is first used.

    youdao

  • 模式-每个依赖服务组件,都是获得服务工厂生成引用。服务是一个单例对象或函数,对外提供特定的功能。

    Singletons - Each component dependent on a service gets a reference to the single instance generated by the service factory.

    youdao

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

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

    youdao

  • 一个Scala单例(singleton),因为使用对象声明而不是声明。

    This is a Scala singleton because it USES the object declaration instead of a class declaration.

    youdao

  • Jeremy认为大多数开发者没有正确使用Ruby对象所以话题比较高阶,谈论了诸如单例类(singleton classes)instance_eval。

    Jeremy believes that most programmers don't use Ruby's objects right, so his talk sheds some light onto advanced topics like singleton classes and the instance_eval.

    youdao

  • 模式目的在于控制对象创建限制对外提供对象数量1同时允许情况变化时创建更多的实

    The singleton's purpose is to control object creation, limiting the number to one but allowing the flexibility to create more objects if the situation changes.

    youdao

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

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

    youdao

  • 生成器工厂方法设计模式视为是创建模式,因它们可协助对象构建

    The singleton, builder, and factory method design patterns are considered creational patterns, as they assist in the construction of objects.

    youdao

  • 单例副本运行多个虚拟中时,每个虚拟机都会创建一个例对象

    When copies of the singleton class run in multiple VMs, an instance is created for each machine.

    youdao

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

    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.

    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

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

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

    youdao

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

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

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