查询
1 词典释义:
singleton
时间: 2025-02-23 08:30:37
英 [ˈsɪŋɡltən]

n.未婚者;单身者;单独个体;单张(一手牌中唯一一张某花色的牌);单元素集;

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

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

  • Bank is a 38-year-old singleton who grew up in Philadelphia.

    班克是一个38岁的单身汉,在费城长大。

    《柯林斯英汉双解大词典》
  • Product inference engine, singleton fuzzifier and center average defuzzifier were used to calculate outputs.

    用乘积推理机、单值模糊器和中心平均解模糊化来计算输出。

  • The default scope is singleton.

    默认范围是 singleton。

  • No singleton stateless session bean.

    没有单独的无状态会话bean。

  • It is implemented as a singleton class.

    它是一个单实例类。

  • This is a standard PHP singleton pattern.

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

  • The Singleton pattern is shown in Figure 5.

    Singleton模式如图5所示。

  • Remember that object denotes a singleton in Scala.

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

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

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

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

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

  • Hence, SignalTranslator adopts a singleton design pattern.

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

  • Listing 2. The DatabaseConnection singleton in rss_db.php.

    清单2 . rss_db . php中的databaseconnection单元素。

  • The Singleton creation pattern is a common programming idiom.

    单例创建模式是一个通用的编程习语。

  • Using C# 2.0 Generics to achieve a reusable Singleton pattern

    使用 C# 2.0 泛型来完成单例模式的重用

  • Static initialization with File and Singleton and framework support.

    File和Singleton以及框架支持的静态初始化。

  • Singleton classes destroyed by garbage collection, then reloaded.

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

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

    Singleton bean是一个在所属容器上下文中的单例对象。

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

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

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

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

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

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

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

    我将分析单元素、内存池和数据流的概念。

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

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

  • One of the things we are working on is support for clustered singleton services.

    我们正在做的一件事是支持集群的单例服务。

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

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

  • This is important because the singleton aspects are typically not garbage collected.

    这一点很重要,因为单体的方面通常不会被垃圾收集。

  • Being close to wild roses in appearance, the singleton fits the unfussy modern garden.

    这种样子和野生蔷薇差不多的品种可以种植在那些不是很讲究的现代花园。

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

    您可以像调用静态方法一样访问单例对象的方法。

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

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

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

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

近义词
n. 一个;独身