单词查询

singletons

美['sɪŋɡ(ə)ltən],英['sɪŋɡ(ə)ltən],

释义

n. 【牌】(某一花色的)单张;孤张;手拿孤张的人;独一无二的(人或物); 网络释义: 单身;单例的;单件的;

例句

It is often the case, though, under time pressure, that simple Singletons make it easy to bridge large gaps between components.
尽管在时间压力下,通常情况是用简单的单件来连接各种各样的组件比较容易。
Singletons, whether unmarried or divorced, are able to sign up for the roughest, toughest unaccompanied positions.
单身者,无论未婚或离异,都能够签约获得那些最难熬、最艰苦的无伴从职位。
Now that we've looked briefly at implementation, let's turn to the heart of this article: how two singletons can exist simultaneously.
前面已经简单地介绍了单例模式的实现方式,现在让我们进入主题:两个单例对象如何同时存在?
In an effort to avoid costly synchronization in singletons, programmers, quite ingeniously, invented the double-checked locking idiom.
为避免单例中代价高昂的同步,程序员非常聪明地发明了双重检查锁定习语。
The only static feature the Scala language offers is (companion) objects, whose counterparts in Java are singletons.
Scala语言所提供的唯一一个静态特性就是对象,其在Java中的等价物就是单例。
The Government has pledged to reduce the average waiting time of elderly singletons who wish to live by themselves to two years by 2005.
政府承诺在二零零五年年底前,把有意独居的单身长者轮候租住公屋的平均时间缩短至两年。
We hope to keep going on these lines and get out other proposed features like Singletons and Async beans long before the spec goes final.
我们希望能再接再厉并在最终规范发布前提出其他建议如单例及异步beans。
Moreover, singletons can be stateful; in this case, their role is to serve as a unique repository of state.
更有甚者,单例对象能够被状态化;这样,它们可以作为一个状态仓库向外提供服务。
Dr Jones said singletons could use his findings to help prevent wasting time chatting up people who were clearly not interested.
琼斯博士说,单身者可以利用他的发现,避免浪费时间与明显没兴趣的人搭讪。
Further, this option allows for non-singletons to be created, allowing a per-instance injection for services that need it.
再者,你还能创建非单例组件,在服务需要它时即可注入一个实例。

单词卡片