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。
Remember that object denotes a singleton in Scala.
还记得吗,object表示 Scala中的一个单例。
Hence, SignalTranslator adopts a singleton design pattern.
因此,SignalTranslator采用了singleton设计模式。
A singleton bean is a singleton in the context of the owning container.
Singletonbean是一个在所属容器上下文中的单例对象。
These are called singleton objects, and need only be initialized once.
这些对象被称为单个对象(singleton object),并且只需要初始化一次。
The static getInstance method contains the template code for a singleton.
静态getInstance方法包含单例的模板代码。
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关键词定义的。
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.
您可以像调用静态方法一样访问单例对象的方法。
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提供了两种作用域:单例和原型(或者叫非单例)。
MockupDB, illustrated in Listing 3, is singleton class that simulates a database of customer orders.
清单3所示的MockupDB是个单体类,模拟客户订单的数据库。
Therefore, use of a singleton instance for JAX-RS resources should be avoided unless carefully planned.
因此,除非仔细计划,否则应该避免使用JAX - RS资源的单例实例。
Our goal is to allow users to specify a clustered singleton using an annotation and custom SCA scope.
我们的目标是让用户能通过注解(annotation)和定制的SCA范围来指定集群的单例服务。
Implement it using a centralized configuration singleton, which you can configure with a properties file.
使用一个集中的配置singleton来实现它,对于这个singleton,可以使用一个属性文件进行配置。
Listing 4 shows a version of the singleton that USES a method instead of an attribute to specify the appropriate class.
清单4显示了使用方法而非属性来指定适当类的单例。
Listing 4 shows a version of the singleton that USES a method instead of an attribute to specify the appropriate class.
清单4显示了使用方法而非属性来指定适当类的单例。
应用推荐