Product inference engine, singleton fuzzifier and center average defuzzifier were used to calculate outputs.
用乘积推理机、单值模糊器和中心平均解模糊化来计算输出。
Through this functionality, you can use the popular singleton pattern.
通过使用这种功能,您可以使用流行的单例模式。
As I discuss the singleton, keep the above implementations in mind, although many of those phenomena can occur for any implementation of the singleton.
本文讨论的主题是单例模式,请将上述实现方式牢记于心,因为接下来的现象可能出现在任何一种实现方式中。
It is implemented as a singleton class.
它是一个单实例类。
A singleton bean is a singleton in the context of the owning container.
Singletonbean是一个在所属容器上下文中的单例对象。
In that case, a new singleton object will be created.
在这种情况下,一个新的单例对象会被创建。
No singleton stateless session bean.
没有单独的无状态会话bean。
The default scope is singleton.
默认范围是singleton。
Hence, SignalTranslator adopts a singleton design pattern.
因此,SignalTranslator采用了singleton设计模式。
For example, take a look at the connection pool singleton in Listing 1.
例如,看一下清单1内所示的这个连接池单例。
You can access methods on singleton objects similar to how you would call static methods.
您可以像调用静态方法一样访问单例对象的方法。
We don't really need more than one instance here, so a singleton is fine.
我们实际上并不需要更多的实例,所以单体模式也不错。
Remember that object denotes a singleton in Scala.
还记得吗,object表示 Scala中的一个单例。
This has the added benefit of separating singleton code from the class code leaving the flexibility to use several instances of the class or using the class as a singleton.
这样分离出单例结构的代码,将有利于保持按单例模式使用类或不按单例模式使用类的灵活性。
Both UI components and the Application object (which is a singleton) can receive system events.
UI组件和应用对象(这是一个单例)都能收到系统事件。
One of the things we are working on is support for clustered singleton services.
我们正在做的一件事是支持集群的单例服务。
This method in turn creates the container (which ACTS as a singleton) and registers components and their parameters.
这个方法然后再创建容器(充当单体)并注册组件和组件的参数。
When copies of the singleton class run in multiple VMs, an instance is created for each machine.
当单例类的副本运行于多个虚拟机中时,每个虚拟机都会为其创建一个实例对象。
So if you serialize one singleton twice, the two serialized objects take on separate identities.
所以如果两次序列化一个单例对象,这两个序列化得到的对象会持有两个不同的标识。
This is demonstrated using the ExceptionHandler class, which again adopts a singleton design pattern.
使用exceptionhandler类可以展示这一点,该类也采用了singleton设计模式。
With some implementations of the singleton, you allow writers of subclasses to override methods polymorphically, something not possible with static methods.
最后,在单例模式的一些实现方式中,单例类的子类能够动态地重载方法,这是静态方法所不能办到的。
Next, UnitsConverter is also a singleton as it is defined using the object keyword.
接下来,UnitsConverter也是一个单例模式,因为它是使用object关键词定义的。
The Manager object is a singleton and is needed to create all other objects.
Manager是一个单实例对象,需要它来创建所有其他对象。
The constructor of BookWebApp gets the singleton instance of the book service implementation object.
BookWebApp的构造函数获取这个图书服务实现对象的singleton实例。
It is actually the real name of the singleton instance of the Unit type!
事实上这是Unit类型单体实例的真正名字!
This is a Scala singleton because it USES the object declaration instead of a class declaration.
这是一个Scala单例(singleton),因为它使用对象声明,而不是类声明。
Listing 4 shows a version of the singleton that USES a method instead of an attribute to specify the appropriate class.
清单4显示了使用方法而非属性来指定适当类的单例。
Implement it using a centralized configuration singleton, which you can configure with a properties file.
使用一个集中的配置singleton来实现它,对于这个singleton,可以使用一个属性文件进行配置。
Wherever there are singleton lookup in the legacy codebase, a small change is made to lookup the same component via the service locator instead.
凡是在遗留代码集中出现单件查找的地方,稍加修改即可换用服务定位器来查找同样的组件。
Wherever there are singleton lookup in the legacy codebase, a small change is made to lookup the same component via the service locator instead.
凡是在遗留代码集中出现单件查找的地方,稍加修改即可换用服务定位器来查找同样的组件。
应用推荐