• We could either implement each state as a Singleton, or create a factory of states which creates and manages the states.

    我们可以执行每个状态作为Singleton可以创建状态工厂用于生成和管理状态。

    youdao

  • Remember that object denotes a singleton in Scala.

    还记得吗object表示 Scala中的一个单例

    youdao

  • Strictly speaking, Ms. Chen, 30, is no longer a singleton.

    严格说来30岁的 仪丽不再独身女性,她已经跟男朋友交往两年,甚至到了谈婚论嫁的地步。

    youdao

  • Hence, SignalTranslator adopts a singleton design pattern.

    因此SignalTranslator采用了singleton设计模式。

    youdao

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

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

    youdao

  • I'll examine the idea of a singleton, memory pooling, and data streaming.

    分析单元素内存数据概念

    youdao

  • The static getInstance method contains the template code for a singleton.

    静态getInstance方法包含单例的模板代码

    youdao

  • Graphics3d is a singleton and _graphics3d holds a reference for later use.

    graphics3d元素,_ graphics3d中保存了一个引用,以备将来使用

    youdao

  • Next, UnitsConverter is also a singleton as it is defined using the object keyword.

    接下来UnitsConverter也是一个单例模式因为使用object关键词定义的。

    youdao

  • We made our database a singleton in order to limit the database class to only one instance.

    我们数据库当作一个实例对象,database限制1个实例。

    youdao

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

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

    youdao

  • Another way is for each component type to use its own instance of service locator, not a singleton.

    另外一个方法每个组件类型使用自身服务定位器实例而不是集合

    youdao

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

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

    youdao

  • What seems even more perplexing is why there isn't a singleton version of a stateless session bean.

    使感到更为疑惑为什么这里存在无状态会话bean的单独版本

    youdao

  • Because this decision makes all Leaves identical, we'll keep a singleton for Leaf in a static field.

    由于决定使所有Leaf相同我们一个静态字段Leaf保留一个元素。

    youdao

  • This class is a singleton, meaning there's only one map of running server instances for all projects.

    惟一意味着所有项目正在运行服务器实例只有一个惟一的映射

    youdao

  • This is demonstrated using the ExceptionHandler class, which again adopts a singleton design pattern.

    使用exceptionhandler可以展示一点,该类也采用singleton设计模式

    youdao

  • Your service will be a singleton by default, just like it would be if you were using Spring directly.

    默认情况下,服务一个单体,就像直接使用Spring一样

    youdao

  • Therefore, use of a singleton instance for JAX-RS resources should be avoided unless carefully planned.

    因此除非仔细计划,否则应该避免使用JAX - RS资源单例实例

    youdao

  • This has the usually undesirable effect of making the descriptor something like a singleton. For example.

    通常描述符起到不好影响使类似一个模式(singleton)。

    youdao

  • The remaining alternative is to use a service locator, make it a singleton, but remove the reference cache.

    剩下选择使用服务定位器使用集合的方式,但是要去除引用缓存

    youdao

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

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

    youdao

  • BookServiceImpl is a singleton class that USES an in-memory map to maintain the collection of book objects.

    BookService Implsingleton使用内存映射图(in - memory map)维护图书对象集合

    youdao

  • The Application class is a singleton class that acts as a controller for all of the application's operations.

    Application一个单身类(singletonclass),用作应用程序所有操作控制器

    youdao

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

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

    youdao

  • This method in turn creates the container (which ACTS as a singleton) and registers components and their parameters.

    这个方法然后创建容器(充当单体)注册组件组件的参数

    youdao

  • The major disadvantage of using a Singleton, as we did here, is that you must clear the Singleton between each test.

    正如我们在此所做使用Singleton主要缺点必须各次测试之间清除Singleton

    youdao

  • The SecurityUtils object is a singleton, which means that different objects can use it to gain access to the current user.

    SecurityUtils对象一个singleton意味着不同对象可以使用获得当前用户访问

    youdao

  • The SecurityUtils object is a singleton, which means that different objects can use it to gain access to the current user.

    SecurityUtils对象一个singleton意味着不同对象可以使用获得当前用户访问

    youdao

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

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

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