singletons怎么读,singletons的音标和真人发音
  

singletons是什么意思,singletons的意思是

n.一个,独身,单独( singleton的名词复数 )

singletons 的用法和双语例句“点击”或“选中”例句中的单词,就可以看到词义解释

Singletons are a useful way to control access to a class , making sure that only one instance can exist .
单例模式是一种有用的控制类访问的途径,他能保证只有一个类实例存在。
Two singletons will be created if the constructor runs and simultaneously another thread calls the method .
当该构造方法运行的同时,恰好被另一线程访问,两个单例对象将被创建。
Moreover , singletons can be stateful ; in this case , their role is to serve as a unique repository of state .
更有甚者,单例对象能够被状态化;这样,它们可以作为一个状态仓库向外提供服务。
However , in certain situations , two or more singletons can mysteriously materialize , disrupting the very guarantees that the singleton is meant to provide .
然而,在某些情况下,可能会诡异地出现两个或者多个单例对象,这会严重破坏单例模式提供的对象唯一性保证。
Thread-safe code is particularly important in singletons , since that design pattern is meant to give the user a single point of access that hides the complexities of the implementation , including multithreading issues .
线程安全对于单例模式极其重要,因为单例模式意味着在提供给客户端唯一访问点的同时,必须处理很多复杂的问题,包括多线程问题。
High-rise living may appeal to singletons , whereas families often shun them .
高层公寓大楼也许会吸引那些独居的人,而家庭住户通常不选择这样的房子。
This means that singletons will be the fastest-growing household group in most parts of the world .
这意味着在世界的大部分地方,独身将是发展最快的家庭群体。
A simple example is testing private methods ; a more complex one is handling singletons .
测试私有方法就是一项简单的例子;处理单件(singleton)则属于较复杂的例子。
Abstract factory and factory methods implemented as singletons .
抽象工厂与工厂方法作为单件实现。
Older singletons are using the sites as a way to find love .
孤寡老人使用此类网站寻找真爱。