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.
它是一个单实例类。
Remember that object denotes a singleton in Scala.
还记得吗,object表示 Scala中的一个单例。
In that case, a new singleton object will be created.
在这种情况下,一个新的单例对象会被创建。
Hence, SignalTranslator adopts a singleton design pattern.
因此,SignalTranslator采用了singleton设计模式。
A singleton bean is a singleton in the context of the owning container.
Singletonbean是一个在所属容器上下文中的单例对象。
Through this functionality, you can use the popular singleton pattern.
通过使用这种功能,您可以使用流行的单例模式。
For example, take a look at the connection pool singleton in Listing 1.
例如,看一下清单1内所示的这个连接池单例。
It is actually the real name of the singleton instance of the Unit type!
事实上这是Unit类型单体实例的真正名字!
These are called singleton objects, and need only be initialized once.
这些对象被称为单个对象(singleton object),并且只需要初始化一次。
We don't really need more than one instance here, so a singleton is fine.
我们实际上并不需要更多的实例,所以单体模式也不错。
The static getInstance method contains the template code for a singleton.
静态getInstance方法包含单例的模板代码。
The Manager object is a singleton and is needed to create all other objects.
Manager是一个单实例对象,需要它来创建所有其他对象。
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.
我们正在做的一件事是支持集群的单例服务。
Next, UnitsConverter is also a singleton as it is defined using the object keyword.
接下来,UnitsConverter也是一个单例模式,因为它是使用object关键词定义的。
You can access methods on singleton objects similar to how you would call static methods.
您可以像调用静态方法一样访问单例对象的方法。
We made our database a singleton in order to limit the database class to only one instance.
我们将数据库当作一个单实例对象,以将database类限制为1个实例。
This is a Scala singleton because it USES the object declaration instead of a class declaration.
这是一个Scala单例(singleton),因为它使用对象声明,而不是类声明。
Both UI components and the Application object (which is a singleton) can receive system events.
UI组件和应用对象(这是一个单例)都能收到系统事件。
When copies of the singleton class run in multiple VMs, an instance is created for each machine.
当单例类的副本运行于多个虚拟机中时,每个虚拟机都会为其创建一个实例对象。
The singleton pattern can be used to delay the initialization of an object as long as possible.
单元素模式可以用来尽可能久地延迟对象的初始化。
So if you serialize one singleton twice, the two serialized objects take on separate identities.
所以如果两次序列化一个单例对象,这两个序列化得到的对象会持有两个不同的标识。
The constructor of BookWebApp gets the singleton instance of the book service implementation object.
BookWebApp的构造函数获取这个图书服务实现对象的singleton实例。
This is demonstrated using the ExceptionHandler class, which again adopts a singleton design pattern.
使用exceptionhandler类可以展示这一点,该类也采用了singleton设计模式。
What seems even more perplexing is why there isn't a singleton version of a stateless session bean.
使我感到更为疑惑的是为什么这里不存在无状态会话bean的单独版本。
Spring has traditionally offered two scopes for beans: singleton and Prototype (or non-singleton).
Spring之前为bean提供了两种作用域:单例和原型(或者叫非单例)。
应用推荐